I was confused until I watched the dry run of recursion... Thanks for having Striver!..
@user-wp7kd9dv6i4 ай бұрын
same
@aryanpinto5105 Жыл бұрын
Was a bit confused regarding recursive approach of this problem for a while. Your explanation just cleared out all of it. Great video!!❤💯
@abid380111 ай бұрын
Awesome man. The way you tried to portray the recursive one is actually over the moon..
@monikarawat5125Ай бұрын
Right actually over the moon 🌝 sir 🙏🏻🙏🏻taught us the beauty of recursion beautifully and factually ❤😇
@durgeshjadhav019 ай бұрын
Logic are crystal clear with your perfection in explanation , i don't even need to look code .
@AmanSharma-xy1qm Жыл бұрын
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.
@1handclaps9 ай бұрын
If you are a beginner or even an intermediate this is the best playlist to follow for DSA
@sanchitsanyam73598 ай бұрын
recursive approach of soving linked list is awesome non of any youtuber has explained it such fantastically
@hardikkumarsingh11 ай бұрын
Exceptional explanation !!! I've never intuitively understood recursive version of reversing a LinkedList, but this video helped me understand that too so easily🙇🙇
@gauravmishra878211 ай бұрын
The dry run part is genius!! very nice explanation.
@raghavgarg-oo6mx10 ай бұрын
explanation of the recursive approach was just exceptional . thankyouu striver
@surayahappy120 Жыл бұрын
so beautiful so elegant just looking like a wow
@AADITYASINGH-b2z3 ай бұрын
Kudos from the entire community for such beautiful explanation.
@ritikshandilya70758 ай бұрын
Recursion approach is just LIT , bhai kamal kr diya striver bhai
thankyou , tried to understand the recursive approach from everywhere before this since last night , finally understood
@Salman_Patel_074 ай бұрын
Crystal clear !!! Thanks for explaining the recursion topic soo beautifully and making it easier to understand. ❤
@darshitsingh43783 ай бұрын
BEST VIDEO ON KZbin SEEN ALL
@endlesslearning264 ай бұрын
The recursion code is always a delight to understand , coz you think that how could be solved soo elegantly
@MrRon-jx9vx8 ай бұрын
Great explanation!!! The best i've ever seen on recursion !
@adityamukherjee2207Ай бұрын
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.
@harshilpatel320510 ай бұрын
Amazing explanation at recursive approach thank you striver for this amazing course😊🎉
@surge3.147 ай бұрын
Your DryRun thing in these recursion approaches is amazing
@ddevarapaga51345 ай бұрын
Brooo u are crazyyyy that dry run is the best i have seen thank you understood
@ujjwalsingh68899 ай бұрын
Finally I understood this recursive concept.........Nice Explanation👍👍
@honeyjot870910 ай бұрын
Loved the explanation for recursive solution, especially the DRY RUN
@adveshdarvekar77333 ай бұрын
Thank you for putting so much hardwork!
@Rieshu-l9i10 ай бұрын
Amazingly explained, #Striver rocks, gold bless you & all
@FifthArima7 ай бұрын
The way he explains sounds like Arnab Goswami highlighting the news ! 😂
@manasbhatia11916 ай бұрын
Is it me or anyone else also thinks that things have been a little tougher from Linked List
@vibhavsharma27246 ай бұрын
I think it's you only.
@aspirant500days76 ай бұрын
No man. I've given up on Linked last multiple times to reach this far (not even half).
@vedikamishra009Ай бұрын
@@vibhavsharma2724 🙂
@_thingsthatmatter6 ай бұрын
i love youuuu u r thee besttttt teacherrrrrrrr EVERRRRRRRRRRRRR
@stith_pragya11 ай бұрын
UNDERSTOOD, Thank You So Much for this wonderful video...........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@rahuldwivedi475811 ай бұрын
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); }
@hiteshsharma919211 ай бұрын
Broo your way of explaining is awesom👍👍
@swagatrout307510 ай бұрын
thank you man tanks for clarifying the recursion from scratch
@cjonyoutube3011Ай бұрын
Beautifully explained
@amitarya48945 ай бұрын
Awesome and hats off 🙏🙏 thank you so much Striver.
@arhamansari13122 ай бұрын
Excellent work. Thank you so much!!!
@ankitghanshala738210 күн бұрын
head->next in recursive call is the head for base condition..so the function returns last node after head->next recursive call for the second last node is called.
@__.redcode._Ай бұрын
t1 = head; // Initialize t1 to point to the head t3 = NULL; // Initialize t3 as NULL (previous pointer) t4 = t1->next; // Initialize t4 to the second node in the list t2 = NULL; // Initialize t2 as NULL int c = 1; // Start with c = 1 while (t4 != NULL) { if (c == 1) { c--; // Decrement c t2 = t1; // Set t2 to point to t1 t4 = t2->next; // Move t4 to the next node t1->next = t3; // Reverse the link for t1 t3 = t2; // Move t3 forward to t2 } else { c++; // Increment c t3 = t4->next; // Store the next node of t4 in t3 t1 = t4; // Move t1 forward to t4 t4->next = t2; // Reverse the link for t4 t2 = t1; // Move t2 forward to t1 t4 = t3; // Move t4 forward to the next node } } head = t1; // Update head to the new first node after reversal this might be a complex alternative , was for me when i deduced for the first time ;) and little bit of confusion removal by GPT my friend in need using swapping the pointers and accessing their respected node's next for reversing the linked list
@Ammmmmmmman11 ай бұрын
Dry run part was actually brilliant
@highfiveseries224418 күн бұрын
12/22/2024 _Good Explanation Striver bhaiya ❤
@sibiranganath8 ай бұрын
Recursive approach: 14:50
@adharapuramnavaneeth9925 Жыл бұрын
greatest video superb sir !!
@swathigp38186 ай бұрын
I was very confused with this recursive method, how does it reverse. It is super clear after watching your video !
@PeterParker-ee6ep4 ай бұрын
dry run makes the explanation clear.
@mohitparmar015 ай бұрын
best explanation ever!
@PCCOERCoderАй бұрын
Lecture successfully completed on 27/11/2024 🔥🔥
@nithins6273Ай бұрын
did u complete whole linked list playlist?
@AbhishekKumar-cd4gg6 ай бұрын
understood , best part was dry run of recursive code
@aavashkuikel13418 ай бұрын
15:00 Recursion Starts
@prad20037 ай бұрын
best explanation ever
@prathambhatia30405 ай бұрын
Thanks for that dry run approach
@ojasviagrawal3180 Жыл бұрын
excellent explanation was just fabbb
@kalpking...449610 ай бұрын
understood very much thank you sir
@girirajsingh44676 ай бұрын
you are a genius
@AvijitGhosh-o1r4 ай бұрын
Very well explained. Thanks
@HemangSinghal-op5ep4 ай бұрын
Awesome Explanation!
@jeanishverma689810 ай бұрын
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;
@saitehith66479 ай бұрын
Just Brilliant ❤
@knowthrvdo10 ай бұрын
NICE LECTURE AND PLZ UPLOAD REMAINING LECTURES OF A TO Z SDA SHEET PLZ THEY ARE VERY HELPFULL FOR US
@lakshayverma65575 ай бұрын
dry run was awesome
@prathameshjadhav2942 Жыл бұрын
Awesome teaching
@ManasNandMohan Жыл бұрын
So Beautiful , So elegant just looking like a WoW
@dhanushkiran-k3j Жыл бұрын
Best video explanation
@kumarnishantnitallahabad1607 ай бұрын
Wow great explanation
@adebisisheriff15911 ай бұрын
Simply the best!!!
@rishu4800 Жыл бұрын
Amazing explanation
@pavanKumar-hm7on11 ай бұрын
you are our god . thank you soo much
@hashcodez7576 ай бұрын
9:45 Take U Forward
@diptamoy12 Жыл бұрын
bhaiyaa app great ho❤❤❤❤
@yeakub_sadlilАй бұрын
Understood 💥 Done and Dusted 💯 🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺 🔺
@gauravbanerjee289811 ай бұрын
Understood Thanks a lot ❣❣
@nuraynasirzade8 ай бұрын
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
@romanreigns42356 ай бұрын
Same bro
@banothutharun274310 ай бұрын
what a man 👏👏
@AshwaniKumar-ew1cnАй бұрын
Superb!
@YourCodeVerse11 ай бұрын
Understood✅🔥🔥
@pankajsunal981910 ай бұрын
thanks for this explanation
@KeerthiTummala2962 ай бұрын
🥳💯 percent effective
@annapureddyravi40547 ай бұрын
Bro can you push the code ..The way you explain is very interesting to watch and learn the concepts.
@manga_mania. Жыл бұрын
Thank you striver😃😃
@shwetachoudhary9003Ай бұрын
got it soo well❤
@Arnavfellasleep9 ай бұрын
Understood Will comeback after a month and report where I am.
@codeman382811 ай бұрын
Great video
@s.saranya2486 Жыл бұрын
the BEST💯
@amanpratapsingh1981 Жыл бұрын
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.
@sarthakkk8628 Жыл бұрын
you can find the links on his website whose link is in the description.
@instinct10987 ай бұрын
Recursive is damnn good!!
@snehashisratna9074 Жыл бұрын
big fan bhai luv you bhai
@ABISHEK-r7k11 ай бұрын
UNDERSTOOD SIR
@ankithazra20056 ай бұрын
you are god
@ArpanChakraborty-do6yz10 ай бұрын
Understand ❤❤
@khalasianiket8166 ай бұрын
understood ❤
@SomalinBagarty7 ай бұрын
Amazing !!!
@karthik-varma-15795 ай бұрын
00:10 Iterative Approach 14:39 Recursive Approach I Have Seen Your Content Is Been Copying By Other Edtech compaines and They are Following Same Pattern in which you are Saying Maybe You Do A Copyright Strike
@whitedevil28695 ай бұрын
In recursive way m..I wrote the same code given above ..... Stack overflow error aa raha hain ....give me soln
@rockstarCoolz7 ай бұрын
Thanks 🙏 sir
@adithyahegdekota25865 ай бұрын
14:!4 The death stare
@Learnprogramming-q7f10 ай бұрын
Thank you bhaiya
@surayahappy120 Жыл бұрын
best best best best ...................................................................