Тёмный

L9. Reverse a LinkedList | Iterative and Recursive 

take U forward
Подписаться 685 тыс.
Просмотров 142 тыс.
50% 1

Problem Link: tinyurl.com/2a...
Entire LL Sheet: takeuforward.o...
Check our A2Z DSA Course: takeuforward.o...
Please do give us a like, and subscribe to us if you are new to our channel.
Do follow us on our socials: linktr.ee/take...

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 150   
@_SahilShah
@_SahilShah 2 месяца назад
00:10 Iterative Approach 14:39 Recursive Approach very nice explanation Striver! Understood!
@pratulyapratap9329
@pratulyapratap9329 10 месяцев назад
U r not only teaching linkedlist u r teaching values to give back to this community.. Thankyou Striver
@samreenimam8608
@samreenimam8608 4 месяца назад
I was confused until I watched the dry run of recursion... Thanks for having Striver!..
@user-wp7kd9dv6i
@user-wp7kd9dv6i Месяц назад
same
@tanisha999-e2w
@tanisha999-e2w 10 месяцев назад
Hands down, the best explanation on RU-vid!
@aryanpinto5105
@aryanpinto5105 9 месяцев назад
Was a bit confused regarding recursive approach of this problem for a while. Your explanation just cleared out all of it. Great video!!❤💯
@surayahappy120
@surayahappy120 10 месяцев назад
so beautiful so elegant just looking like a wow
@abid3801
@abid3801 7 месяцев назад
Awesome man. The way you tried to portray the recursive one is actually over the moon..
@sanchitsanyam7359
@sanchitsanyam7359 5 месяцев назад
recursive approach of soving linked list is awesome non of any youtuber has explained it such fantastically
@durgeshjadhav01
@durgeshjadhav01 6 месяцев назад
Logic are crystal clear with your perfection in explanation , i don't even need to look code .
@AmanSharma-xy1qm
@AmanSharma-xy1qm 10 месяцев назад
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.
@hardikkumarsingh
@hardikkumarsingh 8 месяцев назад
Exceptional explanation !!! I've never intuitively understood recursive version of reversing a LinkedList, but this video helped me understand that too so easily🙇🙇
@gauravmishra8782
@gauravmishra8782 8 месяцев назад
The dry run part is genius!! very nice explanation.
@AADITYASINGH-b2z
@AADITYASINGH-b2z 6 часов назад
Kudos from the entire community for such beautiful explanation.
@raghavgarg-oo6mx
@raghavgarg-oo6mx 7 месяцев назад
explanation of the recursive approach was just exceptional . thankyouu striver
@FifthArima
@FifthArima 4 месяца назад
The way he explains sounds like Arnab Goswami highlighting the news ! 😂
@Salman_Patel_07
@Salman_Patel_07 Месяц назад
Crystal clear !!! Thanks for explaining the recursion topic soo beautifully and making it easier to understand. ❤
@1handclaps
@1handclaps 6 месяцев назад
If you are a beginner or even an intermediate this is the best playlist to follow for DSA
@MrRon-jx9vx
@MrRon-jx9vx 5 месяцев назад
Great explanation!!! The best i've ever seen on recursion !
@surge3.14
@surge3.14 3 месяца назад
Your DryRun thing in these recursion approaches is amazing
@ritikshandilya7075
@ritikshandilya7075 5 месяцев назад
Recursion approach is just LIT , bhai kamal kr diya striver bhai
@endlesslearning26
@endlesslearning26 Месяц назад
The recursion code is always a delight to understand , coz you think that how could be solved soo elegantly
@darshitsingh4378
@darshitsingh4378 16 дней назад
BEST VIDEO ON RU-vid SEEN ALL
@ddevarapaga5134
@ddevarapaga5134 2 месяца назад
Brooo u are crazyyyy that dry run is the best i have seen thank you understood
@harshilpatel3205
@harshilpatel3205 6 месяцев назад
Amazing explanation at recursive approach thank you striver for this amazing course😊🎉
@adveshdarvekar7733
@adveshdarvekar7733 14 дней назад
Thank you for putting so much hardwork!
@ujjwalsingh6889
@ujjwalsingh6889 5 месяцев назад
Finally I understood this recursive concept.........Nice Explanation👍👍
@jeanishverma6898
@jeanishverma6898 7 месяцев назад
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;
@manasbhatia1191
@manasbhatia1191 3 месяца назад
Is it me or anyone else also thinks that things have been a little tougher from Linked List
@vibhavsharma2724
@vibhavsharma2724 3 месяца назад
I think it's you only.
@aspirant500days7
@aspirant500days7 3 месяца назад
No man. I've given up on Linked last multiple times to reach this far (not even half).
@amitarya4894
@amitarya4894 Месяц назад
Awesome and hats off 🙏🙏 thank you so much Striver.
@honeyjot8709
@honeyjot8709 7 месяцев назад
Loved the explanation for recursive solution, especially the DRY RUN
@_thingsthatmatter
@_thingsthatmatter 3 месяца назад
i love youuuu u r thee besttttt teacherrrrrrrr EVERRRRRRRRRRRRR
@PeterParker-ee6ep
@PeterParker-ee6ep 26 дней назад
dry run makes the explanation clear.
@Rieshu-l9i
@Rieshu-l9i 7 месяцев назад
Amazingly explained, #Striver rocks, gold bless you & all
@AvijitGhosh-o1r
@AvijitGhosh-o1r Месяц назад
Very well explained. Thanks
@swathigp3818
@swathigp3818 3 месяца назад
I was very confused with this recursive method, how does it reverse. It is super clear after watching your video !
@stith_pragya
@stith_pragya 8 месяцев назад
UNDERSTOOD, Thank You So Much for this wonderful video...........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@girirajsingh4467
@girirajsingh4467 3 месяца назад
you are a genius
@swagatrout3075
@swagatrout3075 7 месяцев назад
thank you man tanks for clarifying the recursion from scratch
@prathambhatia3040
@prathambhatia3040 2 месяца назад
Thanks for that dry run approach
@Ammmmmmmman
@Ammmmmmmman 8 месяцев назад
Dry run part was actually brilliant
@kalpking...4496
@kalpking...4496 7 месяцев назад
understood very much thank you sir
@ankithazra2005
@ankithazra2005 3 месяца назад
you are god
@HemangSinghal-op5ep
@HemangSinghal-op5ep Месяц назад
Awesome Explanation!
@mohitparmar01
@mohitparmar01 2 месяца назад
best explanation ever!
@adharapuramnavaneeth9925
@adharapuramnavaneeth9925 8 месяцев назад
greatest video superb sir !!
@hiteshsharma9192
@hiteshsharma9192 8 месяцев назад
Broo your way of explaining is awesom👍👍
@ManasNandMohan
@ManasNandMohan 9 месяцев назад
So Beautiful , So elegant just looking like a WoW
@AbhishekKumar-cd4gg
@AbhishekKumar-cd4gg 3 месяца назад
understood , best part was dry run of recursive code
@pradipthij3552
@pradipthij3552 4 месяца назад
best explanation ever
@knowthrvdo
@knowthrvdo 7 месяцев назад
NICE LECTURE AND PLZ UPLOAD REMAINING LECTURES OF A TO Z SDA SHEET PLZ THEY ARE VERY HELPFULL FOR US
@nuraynasirzade
@nuraynasirzade 5 месяцев назад
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
@romanreigns4235
@romanreigns4235 3 месяца назад
Same bro
@pavanKumar-hm7on
@pavanKumar-hm7on 8 месяцев назад
you are our god . thank you soo much
@lakshayverma6557
@lakshayverma6557 2 месяца назад
dry run was awesome
@rahuldwivedi4758
@rahuldwivedi4758 8 месяцев назад
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); }
@adebisisheriff159
@adebisisheriff159 7 месяцев назад
Simply the best!!!
@kumarnishantnitallahabad160
@kumarnishantnitallahabad160 4 месяца назад
Wow great explanation
@annapureddyravi4054
@annapureddyravi4054 4 месяца назад
Bro can you push the code ..The way you explain is very interesting to watch and learn the concepts.
@saitehith6647
@saitehith6647 6 месяцев назад
Just Brilliant ❤
@MayankisG
@MayankisG 2 месяца назад
Understood
@instinct1098
@instinct1098 4 месяца назад
Recursive is damnn good!!
@prathameshjadhav2942
@prathameshjadhav2942 8 месяцев назад
Awesome teaching
@pankajsunal9819
@pankajsunal9819 7 месяцев назад
thanks for this explanation
@dhanushkiran-k3j
@dhanushkiran-k3j 10 месяцев назад
Best video explanation
@ojasviagrawal3180
@ojasviagrawal3180 9 месяцев назад
excellent explanation was just fabbb
@amanpratapsingh1981
@amanpratapsingh1981 9 месяцев назад
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
@sarthakkk8628 8 месяцев назад
you can find the links on his website whose link is in the description.
@rishu4800
@rishu4800 8 месяцев назад
Amazing explanation
@khalasianiket816
@khalasianiket816 3 месяца назад
understood ❤
@gauravbanerjee2898
@gauravbanerjee2898 8 месяцев назад
Understood Thanks a lot ❣❣
@banothutharun2743
@banothutharun2743 7 месяцев назад
what a man 👏👏
@manga_mania.
@manga_mania. 10 месяцев назад
Thank you striver😃😃
@ABISHEK-r7k
@ABISHEK-r7k 8 месяцев назад
UNDERSTOOD SIR
@diptamoy12
@diptamoy12 9 месяцев назад
bhaiyaa app great ho❤❤❤❤
@codeman3828
@codeman3828 8 месяцев назад
Great video
@SomalinBagarty
@SomalinBagarty 4 месяца назад
Amazing !!!
@utpalkant6354
@utpalkant6354 7 месяцев назад
Bhai mere college ke professors ko nikal do, Raj bhai ko HOD bana do.
@s.saranya2486
@s.saranya2486 9 месяцев назад
the BEST💯
@Learnprogramming-q7f
@Learnprogramming-q7f 7 месяцев назад
Thank you bhaiya
@YourCodeVerse
@YourCodeVerse 8 месяцев назад
Understood✅🔥🔥
@Arnavfellasleep
@Arnavfellasleep 6 месяцев назад
Understood Will comeback after a month and report where I am.
@ashutosh61290
@ashutosh61290 10 месяцев назад
bro is recording me aap bahut hi jyda tired dikh rhe ho.. aapko ek acche neend ki jrurat hai..
@takeUforward
@takeUforward 10 месяцев назад
Pdhai kar lo, meko dekh kr kya hoga 🤦🏼‍♂️
@aasimahsan6167
@aasimahsan6167 10 месяцев назад
@@takeUforward 😂
@vatsaljain662
@vatsaljain662 10 месяцев назад
@@takeUforward Thank You for your Hardwork Bhaiya
@AbhishekKumar-nz9dn
@AbhishekKumar-nz9dn 9 месяцев назад
@@takeUforward 😂jainwin
@ArpanChakraborty-do6yz
@ArpanChakraborty-do6yz 7 месяцев назад
Understand ❤❤
@bushrahussain3005
@bushrahussain3005 6 месяцев назад
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
@snehashisratna9074
@snehashisratna9074 10 месяцев назад
big fan bhai luv you bhai
@rockstarCoolz
@rockstarCoolz 3 месяца назад
Thanks 🙏 sir
@DeepakPatel-d5v
@DeepakPatel-d5v 5 месяцев назад
Thanks A lot
@adithyahegdekota2586
@adithyahegdekota2586 2 месяца назад
14:!4 The death stare
@bhusanrath9698
@bhusanrath9698 4 месяца назад
0:00 -4:58 = Brute Force (Using Stack) 5:00 - 14:45 = Iterative 14:50 = Recursive
@NARUTOUZUMAKI-bk4nx
@NARUTOUZUMAKI-bk4nx 8 месяцев назад
Understooood
@sumit2080
@sumit2080 2 месяца назад
understood
@harigs72
@harigs72 20 дней назад
What is this benefit of doing in recurssion
@surayahappy120
@surayahappy120 10 месяцев назад
best best best best ...................................................................
@Ashutoshkumar-jx9wk
@Ashutoshkumar-jx9wk 9 месяцев назад
Thanks ❤
@codingalley6229
@codingalley6229 3 месяца назад
🐐
@AnuragParoha-ck5ds
@AnuragParoha-ck5ds 5 месяцев назад
understood!!!
@RituSingh-ne1mk
@RituSingh-ne1mk 9 месяцев назад
Understood!
@nishant4595
@nishant4595 26 дней назад
the beeesssttttttttt!!!!!
@whitedevil2869
@whitedevil2869 Месяц назад
In recursive way m..I wrote the same code given above ..... Stack overflow error aa raha hain ....give me soln
@subee128
@subee128 10 месяцев назад
Thanks
@sibiranganath
@sibiranganath 5 месяцев назад
Recursive approach: 14:50
@GADDAMSAHITHYAKUMARRAJA
@GADDAMSAHITHYAKUMARRAJA 4 месяца назад
why can't we just change the head rather than using temporary node and then return the head;
Далее
Тренд Котик по очереди
00:10
Просмотров 317 тыс.
LeetCode was HARD until I Learned these 15 Patterns
13:00
Riot just Confirmed HUGE Valorant Update!
9:44
Просмотров 161 тыс.
Google Data Center 360° Tour
8:29
Просмотров 5 млн
L21. Reverse Nodes in K Group Size of LinkedList
24:31
Тренд Котик по очереди
00:10
Просмотров 317 тыс.