Exceptional explanation !!! I've never intuitively understood recursive version of reversing a LinkedList, but this video helped me understand that too so easily🙇🙇
All the video lectures and the articles helped me a lot to gain confidence in DSA and will be helping me in the interviews. Thank you Striver bhaiya for bringing such amazing content for free.
In iterative method use this , if you get null exception: Node temp = head; Node p = null; While(temp!=null){ Node curr = temp.next; temp.next=p; p=temp; temp=curr; } return p;
Striver i'm solving A2Z course and i'm at the strings but there is no video explanation for them. i searched videos on youtube but one explains in detail and clear like you. So can you PLEASE make videos on that topic(i will wait). Thank You
Hey, I find your videos very valuable interms of understanding things, but just not able to find the links in the description whatever you mention in the video, not sure why. Thanks Striver for these videos.
Man, I must say, wonderful video. You explained the recursive solution so well 🤌. I have a much deeper understanding of how to deal with recursion in general because of you. Usually, in recursion people skip through the nitty-gritty details like the current state of the variables involved and the structure of the linked list in intermediate steps, but you have gone through all of it, so thanks! Hope you get more views and subscribers.
U r not only teaching linkedlist u r teaching values to give back to this community..
Thankyou Striver
00:10 Iterative Approach
14:39 Recursive Approach
very nice explanation Striver!
Understood!
Hands down, the best explanation on TH-cam!
I was confused until I watched the dry run of recursion... Thanks for having Striver!..
same
Was a bit confused regarding recursive approach of this problem for a while. Your explanation just cleared out all of it. Great video!!❤💯
Awesome man. The way you tried to portray the recursive one is actually over the moon..
Right actually over the moon 🌝 sir 🙏🏻🙏🏻taught us the beauty of recursion beautifully and factually ❤😇
Logic are crystal clear with your perfection in explanation , i don't even
need to look code .
Exceptional explanation !!! I've never intuitively understood recursive version of reversing a LinkedList, but this video helped me understand that too so easily🙇🙇
All the video lectures and the articles helped me a lot to gain confidence in DSA and will be helping me in the interviews. Thank you Striver bhaiya for bringing such amazing content for free.
explanation of the recursive approach was just exceptional .
thankyouu striver
Kudos from the entire community for such beautiful explanation.
recursive approach of soving linked list is awesome non of any youtuber has explained it such fantastically
The dry run part is genius!! very nice explanation.
so beautiful so elegant just looking like a wow
If you are a beginner or even an intermediate this is the best playlist to follow for DSA
Crystal clear !!! Thanks for explaining the recursion topic soo beautifully and making it easier to understand. ❤
thankyou , tried to understand the recursive approach from everywhere before this since last night , finally understood
Recursion approach is just LIT , bhai kamal kr diya striver bhai
Lecture successfully completed on 27/11/2024 🔥🔥
Great explanation!!! The best i've ever seen on recursion !
Amazing explanation at recursive approach thank you striver for this amazing course😊🎉
BEST VIDEO ON TH-cam SEEN ALL
The recursion code is always a delight to understand , coz you think that how could be solved soo elegantly
Finally I understood this recursive concept.........Nice Explanation👍👍
Is it me or anyone else also thinks that things have been a little tougher from Linked List
I think it's you only.
No man. I've given up on Linked last multiple times to reach this far (not even half).
@@vibhavsharma2724 🙂
Amazingly explained, #Striver rocks, gold bless you & all
Thank you for putting so much hardwork!
Loved the explanation for recursive solution, especially the DRY RUN
bhaiyya thank u so much for this explanation tomorrow i have ds end sem exam and still this video helped me a lot . thank u so much.
Your DryRun thing in these recursion approaches is amazing
Brooo u are crazyyyy that dry run is the best i have seen thank you understood
UNDERSTOOD, Thank You So Much for this wonderful video...........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
Awesome and hats off 🙏🙏
thank you so much Striver.
Even more concise:
function reverseList(head, prev=null){
if(head === null) return prev;
const next = head.next;
head.next = prev;
return reverseList(head.next, head);
}
The way he explains sounds like Arnab Goswami highlighting the news ! 😂
i love youuuu u r thee besttttt teacherrrrrrrr EVERRRRRRRRRRRRR
Excellent work. Thank you so much!!!
Broo your way of explaining is awesom👍👍
thank you man tanks for clarifying the recursion from scratch
0:00 -4:58 = Brute Force (Using Stack)
5:00 - 14:45 = Iterative
14:50 = Recursive
I was very confused with this recursive method, how does it reverse. It is super clear after watching your video !
understood , best part was dry run of recursive code
Awesome Explanation!
greatest video superb sir !!
Very well explained. Thanks
best explanation ever!
you are a genius
Thanks for that dry run approach
dry run makes the explanation clear.
understood very much
thank you sir
Simply the best!!!
NICE LECTURE AND PLZ UPLOAD REMAINING LECTURES OF A TO Z SDA SHEET PLZ THEY ARE VERY HELPFULL FOR US
best explanation ever
Dry run part was actually brilliant
excellent explanation was just fabbb
Just Brilliant ❤
In iterative method use this , if you get null exception:
Node temp = head;
Node p = null;
While(temp!=null){
Node curr = temp.next;
temp.next=p;
p=temp;
temp=curr;
}
return p;
you are our god . thank you soo much
Awesome teaching
Wow great explanation
Striver i'm solving A2Z course and i'm at the strings but there is no video explanation for them. i searched videos on youtube but one explains in detail and clear like you. So can you PLEASE make videos on that topic(i will wait). Thank You
Same bro
Best video explanation
you are god
So Beautiful , So elegant just looking like a WoW
Amazing explanation
Great video
thanks for this explanation
dry run was awesome
got it soo well❤
what a man 👏👏
Bro can you push the code ..The way you explain is very interesting to watch and learn the concepts.
Understood✅🔥🔥
Understood Thanks a lot ❣❣
UNDERSTOOD SIR
Recursive approach: 14:50
the BEST💯
🥳💯 percent effective
Recursive is damnn good!!
Understood
Will comeback after a month and report where I am.
Amazing !!!
Which process is the best you have to explain in 1 min through time n space complexity steps in the end which you didn't
bhaiyaa app great ho❤❤❤❤
Thank you striver😃😃
the beeesssttttttttt!!!!!
Hey, I find your videos very valuable interms of understanding things, but just not able to find the links in the description whatever you mention in the video, not sure why.
Thanks Striver for these videos.
you can find the links on his website whose link is in the description.
big fan bhai luv you bhai
understood ❤
15:00 Recursion Starts
best best best best ...................................................................
Understand ❤❤
Understooood
Understood!
Thank you bhaiya
🐐
Thanks 🙏 sir
Man, I must say, wonderful video. You explained the recursive solution so well 🤌. I have a much deeper understanding of how to deal with recursion in general because of you. Usually, in recursion people skip through the nitty-gritty details like the current state of the variables involved and the structure of the linked list in intermediate steps, but you have gone through all of it, so thanks! Hope you get more views and subscribers.
9:45 Take U Forward
Thanks
Thanks A lot
Thanks ❤