I always learn something new from you, thanks alot! btw I used the approach I learned from you "Counting Sort".
@pranav8609 Жыл бұрын
you are underated
@manishjeena6325 Жыл бұрын
Wow, Amazing Explanation 🥰🙏Thank You❤
@RavinderSingh-nh6th Жыл бұрын
Thank you so much
@shubhambelwal6744 ай бұрын
you have made this approach ?? by the way ,i liked this approach
@priyankarai7917 Жыл бұрын
great explanation👍👍
@l1z1ng3r10 ай бұрын
thank for the video) 💘
@mdanik13612 жыл бұрын
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? :)
@nikoo28052 жыл бұрын
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 :)
@mdanik13612 жыл бұрын
@@nikoo2805 thank u...can u share the brute force code please?
@nikhilbatchu79102 жыл бұрын
Tried this using the count sort. I have created a temp array and stored the frequencies.Is my approach can be considered as optimal?
@nikoo28052 жыл бұрын
Yep…this solution will also be optimal
@TraderOff-Road3 ай бұрын
thaaanks
@vigneshr4197 Жыл бұрын
No need to create new array while multiplying with -1?
@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
@subee1289 ай бұрын
Thanks
@nerd61342 жыл бұрын
Fire 🔥 bro
@Himanshu_85-e2i11 ай бұрын
Good bhaiya
@RohanSingh-my3nl5 ай бұрын
Making Video is So long for no reason Thuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
@nikoo285 ай бұрын
Everyone has a different learning pace my friend. For quick learners there are always timestamps and chapters you can skip to :)