Find the disappearing numbers (LeetCode 448) | Full solution with examples | Study Algorithms

  Рет қаралды 9,665

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 25
@arnavkukreti2009
@arnavkukreti2009 2 ай бұрын
I've seen your videos many times and you're way of explanation is great...!!! thank you
@mindmatters851
@mindmatters851 Жыл бұрын
your explanation is too good every one can understand . thanks bro
@CostaKazistov
@CostaKazistov 2 жыл бұрын
That's pretty clever. Really interesting solution.👍
@sravansunkara
@sravansunkara Ай бұрын
I always learn something new from you, thanks alot! btw I used the approach I learned from you "Counting Sort".
@pranav8609
@pranav8609 Жыл бұрын
you are underated
@manishjeena6325
@manishjeena6325 Жыл бұрын
Wow, Amazing Explanation 🥰🙏Thank You❤
@RavinderSingh-nh6th
@RavinderSingh-nh6th Жыл бұрын
Thank you so much
@shubhambelwal674
@shubhambelwal674 4 ай бұрын
you have made this approach ?? by the way ,i liked this approach
@priyankarai7917
@priyankarai7917 Жыл бұрын
great explanation👍👍
@l1z1ng3r
@l1z1ng3r 10 ай бұрын
thank for the video) 💘
@mdanik1361
@mdanik1361 2 жыл бұрын
I couldn’t understand the brute force method and efficient method time complexity difference... In brute force meth, iterating through every elements doesn’t take O(n) too? :)
@nikoo2805
@nikoo2805 2 жыл бұрын
In Brute Force method you are iterating over the array again and again to find the element. So you are doing n iterations for n items. Hence, a time complexity of O(n^2) In the efficient method, you only iterate once Hope that helps :)
@mdanik1361
@mdanik1361 2 жыл бұрын
@@nikoo2805 thank u...can u share the brute force code please?
@nikhilbatchu7910
@nikhilbatchu7910 2 жыл бұрын
Tried this using the count sort. I have created a temp array and stored the frequencies.Is my approach can be considered as optimal?
@nikoo2805
@nikoo2805 2 жыл бұрын
Yep…this solution will also be optimal
@TraderOff-Road
@TraderOff-Road 3 ай бұрын
thaaanks
@vigneshr4197
@vigneshr4197 Жыл бұрын
No need to create new array while multiplying with -1?
@ashrafel-gaaly8657
@ashrafel-gaaly8657 Жыл бұрын
I think you do if some elements in the array are negative. In these examples they are all positive and yes you can update the existing array
@subee128
@subee128 9 ай бұрын
Thanks
@nerd6134
@nerd6134 2 жыл бұрын
Fire 🔥 bro
@Himanshu_85-e2i
@Himanshu_85-e2i 11 ай бұрын
Good bhaiya
@RohanSingh-my3nl
@RohanSingh-my3nl 5 ай бұрын
Making Video is So long for no reason Thuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
@nikoo28
@nikoo28 5 ай бұрын
Everyone has a different learning pace my friend. For quick learners there are always timestamps and chapters you can skip to :)
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 8 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 91 МЛН
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 658 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 815 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17