Reverse Linked List 2 (LeetCode 92) | Full simplified solution | Animations and Demo

  Рет қаралды 24,551

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 79
@RishabhSharma-p9o
@RishabhSharma-p9o 9 ай бұрын
best solution with an accurate explanatiion and dry run
@sangeethakumari
@sangeethakumari Жыл бұрын
Appreciated. I was always confused why most of the linked list solutions had the dummy node concept. Thanks for the clarification.
@nikoo28
@nikoo28 11 ай бұрын
Yea..the dummy node is a wonderful trick. I love it!!!
@najafalibalti
@najafalibalti 5 ай бұрын
I can't Explain my Words. You're a perfect mentor
@JyotiSharma-wb1vy
@JyotiSharma-wb1vy Жыл бұрын
Wow, this explanation really made a difference! The step-by-step breakdown and clarity in the explanation were incredible. Keep up the great work!
@nikoo28
@nikoo28 Жыл бұрын
Glad you enjoyed it.
@amansaxena3707
@amansaxena3707 9 ай бұрын
Surprised to see the content like this on KZbin. Great work men, Waiting for more
@nandithass7326
@nandithass7326 10 ай бұрын
best solution i have come across so far after watching n videos from other channels .. pls post more!!!!!!!!
@nikoo28
@nikoo28 9 ай бұрын
a new video every week 😄
@malishagavali9225
@malishagavali9225 3 ай бұрын
Subscribed! never gonna have problems reversing LL now
@kumarineha4259
@kumarineha4259 10 ай бұрын
Your explanation mechanism is the best Nikhil, I tried uderstanding this code from many platforms but it realy didnt work, appreciate your time and effort you give to explain every small bit .Thanks for explaining this question efficiently.
@nikoo28
@nikoo28 9 ай бұрын
i try to make diagrams, which can help you to remember the solutions. :)
@dharanidaran.s9063
@dharanidaran.s9063 10 ай бұрын
crystal clear man
@salimmia6132
@salimmia6132 10 ай бұрын
thank you so much brother for your nice explanation. I understand better
@bhargavinaik8145
@bhargavinaik8145 8 ай бұрын
Thank you so much, this was a tricky one, I tried to do it before just using the reversal technique but I was missing the key points of storing these pointer values, watched couple of videos for better logic, those were so complicated could not understand or implement even after watching it many times, was so frustrated. Just for fresh start looked at your video with 0 expectation... and wohh your explanation cleared all my doubts that I dint even know I had, which was actually stopping me from implementing the working code.
@JigarKayastha
@JigarKayastha 4 ай бұрын
bhai i wish your hard work will pay you off in anyways, thankyou so much ! how small details in video editing you have focused, really impressed !
@krishnaindani8414
@krishnaindani8414 7 ай бұрын
This is amazing breakdown
@SaadKhan-sg4wh
@SaadKhan-sg4wh 4 ай бұрын
First video that im watching on your channel and the approach was so good that I had to subscribe!
@nikoo28
@nikoo28 4 ай бұрын
Awesome! Thank you!
@prathamvardaan4187
@prathamvardaan4187 2 ай бұрын
amazing explanation sir thankyou.
@johnsnow5337
@johnsnow5337 7 ай бұрын
Well done man, I got it clearly!
@raiyanaulindo7004
@raiyanaulindo7004 6 ай бұрын
excellent solution
@jcgan521
@jcgan521 5 ай бұрын
Best explanation ever
@TheSachinAlam
@TheSachinAlam Жыл бұрын
Thank you sir
@zainebahmed3498
@zainebahmed3498 Жыл бұрын
Great explanation , the best out there for linked list
@tushar404
@tushar404 6 ай бұрын
The peace with which evey🥰🥰thing just happened , amazinggg man just brilliant!!!
@this_is_me542
@this_is_me542 Жыл бұрын
Thank u so much. I really like the way you explain things from brute force solution to efficient one
@nikoo28
@nikoo28 Жыл бұрын
that is how you should approach a problem in an actual interview too
@arnetto8505
@arnetto8505 Жыл бұрын
Very nice explanation
@nikoo28
@nikoo28 Жыл бұрын
Keep watching
@Slow_learner33
@Slow_learner33 Жыл бұрын
Nice Explanation Sir
@keerthanaaduri
@keerthanaaduri Жыл бұрын
hey the explanation was too good!!
@raghavachekuri7270
@raghavachekuri7270 Жыл бұрын
Amazing explanation
@SagnikChakraborty-e3q
@SagnikChakraborty-e3q 9 ай бұрын
Bhaiya, we need a video for Leetcode Problem 25 - Reverse Linked List in k Groups.
@nikoo28
@nikoo28 8 ай бұрын
adding it to my pipeline.
@riyarb559
@riyarb559 4 ай бұрын
awesome solution buddy!!
@everiguado5272
@everiguado5272 Ай бұрын
Amazing! Thanks a lot.
@parthanuj8611
@parthanuj8611 Жыл бұрын
i watch your videos to hear your voice . BC its grt
@sivan2878
@sivan2878 11 ай бұрын
Awesome bro.
@sysybaba420
@sysybaba420 Жыл бұрын
great explanation, keep them coming!
@nikoo28
@nikoo28 Жыл бұрын
More to come!
@komeshsiva
@komeshsiva Жыл бұрын
Woow , soo beautiful explanation !❤
@nikoo28
@nikoo28 11 ай бұрын
GoodNotes 6
@sonal123ism
@sonal123ism 10 ай бұрын
wow great explanation. 👍
@DhanushS-we6ql
@DhanushS-we6ql Ай бұрын
good contenet.Appreciated
@subee128
@subee128 10 ай бұрын
Thanks
@pranavbedi3898
@pranavbedi3898 10 ай бұрын
Great explanation 🎉
@bhushanjadhao89
@bhushanjadhao89 3 ай бұрын
thank you so much for this...
@plutomessi21
@plutomessi21 Жыл бұрын
Thankyou for your valuable videos and time😇
@nikoo28
@nikoo28 Жыл бұрын
So nice of you
@DilipKumar-si4ww
@DilipKumar-si4ww Жыл бұрын
Best Explanation
@nikoo28
@nikoo28 Жыл бұрын
Thanks for liking
@chakravarthybatna1589
@chakravarthybatna1589 Жыл бұрын
great explanation bro
@nikoo28
@nikoo28 Жыл бұрын
Glad it helped
@jaydeepvasoya6243
@jaydeepvasoya6243 10 ай бұрын
Its awesome...!
@manyaaaa2607
@manyaaaa2607 9 ай бұрын
Can you please tell why we return dummy.next and not return head?
@nikoo28
@nikoo28 8 ай бұрын
dummy.next points to head. keeping a dummy node helps you in a lot of ways. You can discard it later.
@sreejasree7427
@sreejasree7427 3 ай бұрын
thankyou sir
@christokawuma6962
@christokawuma6962 11 ай бұрын
quick question on(16:10) what was the purpose of that forloop, lost me on the part of Assigning {leftPre = leftPre.next} and also{currNode =currNode.next} will appreciate your clarification on that area
@nikoo28
@nikoo28 11 ай бұрын
Did you go through the explanation of the concept? Or went straight to the code?
@christokawuma6962
@christokawuma6962 11 ай бұрын
@@nikoo28 I actually forgot to tell you that I got the concept of it…. I guess I was tired at the time of watching but when I re watched I got we had to iterate through the loop so at to get the right and left initial positions.. thank you once again for taking the initiative to respond back ​​⁠
@manus7342
@manus7342 Жыл бұрын
Thank you so much :)
@aarishfakih741
@aarishfakih741 Жыл бұрын
Thanks a lot!!
@zealrodrigues8495
@zealrodrigues8495 Жыл бұрын
correction:--> Leetcode sum no. 92
@zealrodrigues8495
@zealrodrigues8495 Жыл бұрын
sir can u post atleast 1 video everyday, your solutions help us a lot
@nikoo28
@nikoo28 Жыл бұрын
Thanks..fixed it
@nikoo28
@nikoo28 Жыл бұрын
@@zealrodrigues8495 i wish I could 😅, but each video takes me a total of 10 hours from scratch to final publishing. I try to ensure 4k videos, perfect audio and quality animations. I appreciate you being patient, and I will try to cover all the important topics/questions. Thanks for watching my videos. However, if you want priority reply to comments/questions, explore my membership options as well :)
@TheSachinAlam
@TheSachinAlam Жыл бұрын
You are the best, sir...@@nikoo28
@miguelangelcanogiraldo8015
@miguelangelcanogiraldo8015 9 ай бұрын
GOD
@rohitchand3853
@rohitchand3853 Жыл бұрын
thank you sir
@ahmedashraf3199
@ahmedashraf3199 Жыл бұрын
you are the best
@juishinde9809
@juishinde9809 10 ай бұрын
better than kunal kushwaha
@kidoo1567
@kidoo1567 Жыл бұрын
😊😊😊😊
@priyanshuproji1753
@priyanshuproji1753 2 ай бұрын
negative
@hiteshbhatnagar1624
@hiteshbhatnagar1624 7 ай бұрын
Yaar Nick White (Angrez) ki Copy maar rakhi hai. So sad. It humiliates me.
@nikoo28
@nikoo28 7 ай бұрын
Sorry to hear that…What part do you feel was copied?
@KomalVerma-oo5nx
@KomalVerma-oo5nx 9 ай бұрын
Wow, this explanation really made a difference! The step-by-step breakdown and clarity in the explanation were incredible. Keep up the great work!
@nikoo28
@nikoo28 9 ай бұрын
Glad you liked it!
Reverse Linked List II - Leetcode 92 - Python
16:03
NeetCode
Рет қаралды 85 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 25 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 31 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
03-Binary Search: Efficient Searching Through Halves
33:39
Pointers in C / C++ [Full Course]
3:47:23
freeCodeCamp.org
Рет қаралды 4,5 МЛН
L21. Reverse Nodes in K Group Size of LinkedList
24:31
take U forward
Рет қаралды 102 М.
Reverse a Single Linked List
11:57
Neso Academy
Рет қаралды 280 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 25 МЛН