Reordered Power of 2 | leetcode 869

preview_player
Показать описание

1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 6:15 Coding it up

Рекомендации по теме
Комментарии
Автор

great explanation as usual, count sort was something new for me

RiyaGupta-pies
Автор

Just FYI, using the permutation approach is throwing a TLE.

Instead of writing a compare function for arrays better to use the built in function of Array.equals()

tanson
Автор

That was good. Helped understand the problem.
Many thanks.

CostaKazistov
Автор

Bro! You make leetcode sol everyday. Thank you so much. been watching u since 3 days.

jay-rathod-
Автор

can you also show how to find the permutation for a number ? Btw nice explanations of the problems everyday

noopurshailesh
Автор

a bit confused in part where in for loop i<31.

cricsinghvlogz
join shbcf.ru