Keep Multiplying Found Values by Two| Leeetcode 2154 | Contest 278 | Easy 🔥🔥🔥 | Set Problem

preview_player
Показать описание
Here is the solution to "Keep Multiplying Found Values by Two" leetcode question. Hope you have a great time going through it.

1) 0:00 Explaining the problem out loud
2) 1:50 Understanding the Algorithm
3) 2:00 Approaches
3) 4:00 Coding it up

🔥🔥🔥🔥👇👇👇 For discussion/feedback/humour/doubts/new openings

🔴 Checkout the series: 🔥🔥🔥

🔥🔥🔥 Leetcode Monthly Contest Playlist

PS : Please increase the speed to 1.25X
Рекомендации по теме
Комментарии
Автор

Thanks for this solution. I did it via binary search, since the constraints on the size were small, but this is better if the size was huge..

abhishekjain
Автор

areee bhaii easiest approach bhi toh bataya krr...yeh hash set aur set toh thk haiii...but jisne abhi tak nhi padha wo kya contest nhi de payega ...tere according....toh easy approach bhi bataya

rohitbheron
join shbcf.ru