Thank you for making this video! The solution code and the algorithm are available in a lot of other places but how we **ARRIVE** at the solution/algorithm is best explained in this video. Thanks again! Please keep making more programming-related videos.
Thanks for this explanation man, Your channel is really high quality and honestly I'm surprised you don't have more subs. I didn't even understand the leetcode discuss section for this problem but was able to understand your explanation easily :)
Really an awesome explanation. But one thing i noticed is, that the example we have: ""we are comparing each digit in the numbers."" So, in that case, we should not chosen 10 instead, it should be 1, 0 - Apart from this everything looks really great and intuition is really clear.
The reverse method actually reverses each and every element you give it and that happens in place, meaning: list = [1,2,3,4] list.reverse() // By calling .reverse we change the list itself now it has a value: list = [4,3,2,1] But, if we were to use reversed then in that case we actually get a separate object which we can iterate over. Reversed is actually not happening in place and takes up extra memory but it is faster than using reverse. Hopefully this helps!
Bravooooooo! I cannot thank you enough. I finally understand. Subbed & Liked! Keep up the gr8 vids bro
absolute genius explanation man
watched 10 other videos but was about to quit on this question
and then comes sai to the rescue
thanks big man
the best explanation to this question so far!!! youtube has to put this video on top of the search list!!!
Best explanation I've ever seen!!
Commenting for algorithm boost, This channel deserves more subscribers :)
No cap he has the best explanation... so far. its easy and simple
This is by far the best explanation I've seen for this question
Thank you for making this video! The solution code and the algorithm are available in a lot of other places but how we **ARRIVE** at the solution/algorithm is best explained in this video. Thanks again! Please keep making more programming-related videos.
I cant stop expressing my joy at this!!!!! best explained video
Was really stuck with this and that was an awesome explanation. Thanks a lot.
Thanks for this explanation man, Your channel is really high quality and honestly I'm surprised you don't have more subs.
I didn't even understand the leetcode discuss section for this problem but was able to understand your explanation easily :)
i was stuggling so much!! thanks a ton for this video you helped me out a lot!!
You explained it so well!! everything was on point
Thank you so so much
Thanks alot for this. I finally get the intuition
Glad it helped!
Great explanation
Thanks for making this tricky question easy for me!
listing to him 1st time and i remembered chatur hehhe
Excellent explanation.
Really an awesome explanation. But one thing i noticed is, that the example we have: ""we are comparing each digit in the numbers."" So, in that case, we should not chosen 10 instead, it should be 1, 0 - Apart from this everything looks really great and intuition is really clear.
Great explanation. Keep up the good work!
you teach so well. thanks!
when do you use .reverse() vs reversed()
The reverse method actually reverses each and every element you give it and that happens in place, meaning:
list = [1,2,3,4]
list.reverse()
// By calling .reverse we change the list itself now it has a value:
list = [4,3,2,1]
But, if we were to use reversed then in that case we actually get a separate object which we can iterate over.
Reversed is actually not happening in place and takes up extra memory but it is faster than using reverse.
Hopefully this helps!
@@saianishmalla2646 reversed returns an iterator object
So how would it take up extra memory?
Actually yeah your right sorry for the confusion.
bro once explain previous permutation of [8,2,7,3,5,6,9].
nice explanation bro ..! but what will be the time and space complexity of it ..?
On AND O1
What keyboard was that bruh?
It this one: kono.store/products/whitefox-mechanical-keyboard
I have red switches
Bro timi nepali ho?