Linked List Tutorial - Singly + Doubly + Circular (Theory + Code + Implementation)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии •

  • @KunalKushwaha
    @KunalKushwaha  6 месяцев назад +16

    DSA + interview preparation playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ

  • @ecode5225
    @ecode5225 11 месяцев назад +51

    Over 3 years in Java, I haven't found anyone who explains the way you do. I wish I had found you while I was newly learning Java. But, better still it's never too late. I am going to stick and learn bigger concepts as far as Java is concerned and programming at large.
    I will dedicate special time and go through some of your awesome playlists.
    Thank you, Kunal, for sharing an amazing content.

  • @Oscar-x3m
    @Oscar-x3m 7 месяцев назад +124

    Thank you, Kunal. I am a mother of two kids, wanted to continue my studies in Programming Language, I found your free Lessons🙏 God bless you💯

    • @take_a_breath100
      @take_a_breath100 7 месяцев назад +7

      respect mom

    • @veeee5577
      @veeee5577 5 месяцев назад +1

      hey did you complete the course ? what are the things you were asked in interviews ?

  • @shafinnahian75
    @shafinnahian75 Год назад +238

    _"How difficult was this?"_ is such a affirmative and supportive thing to say while learning data structure. I'll surely be using it to teach my students one day, man. Kudos

  • @shahdadpeykani7641
    @shahdadpeykani7641 Год назад +15

    The amount of knowledge I gained by watching this video was more than one semester at university honestly, thanks a lot!

  • @Moch117
    @Moch117 2 года назад +26

    Watching this from over in America, I can confidently say there hasn't been a guy on RUclips i found who is as good as you. You are a beast !! Thank you for all these videos !!

  • @Cloud-577
    @Cloud-577 3 года назад +265

    Kunal despite sounding sick he still provided us with top quality explanation and very engaging (something many courses lack)

  • @karanmehta253
    @karanmehta253 Месяц назад +1

    I don't usually comment under any videos, but this guy deserves massive respect...

  • @AgampalSingh-x2d
    @AgampalSingh-x2d 4 месяца назад +5

    This actually does not look like a course. It looks like a online lecture with the way he is explaining everything. Respect to your dedication and hardwork.

    • @KunalKushwaha
      @KunalKushwaha  4 месяца назад +3

      You’re welcome

    • @seepanasaikumarimsthnmyhr641
      @seepanasaikumarimsthnmyhr641 19 дней назад +1

      Hey, @@KunalKushwaha following your playlist that we are addicted to your type of teaching things with ease and it is very clear that i was able to understand things, if i don't i rewatch it and practice but there is something new in your way of teaching encouraging us and scolding us like a brother who cares for their siblings. please continue to make videos but don't stop making this type of content.

  • @amansrivastava834
    @amansrivastava834 3 года назад +33

    If RUclips has a museum than this playlist needs to be saved in that for our future generations 💪

  • @pratyushkumar1919
    @pratyushkumar1919 Год назад +2

    I have never seen such type of explanation anywhere where every single line goes in my mind. But, your explanation works like medicine in my programming journey. Lots of love.

  • @adworksout7
    @adworksout7 3 года назад +212

    This is what I've been wanting from a long time
    Please complete DSA playlist as fast as possible, your videos are really helpful
    Better than any college teacher that could've taught me

  • @som_girl6702
    @som_girl6702 2 года назад +45

    Thank you, the most outstanding teacher of our time! What people pay to get, you teach with a passion for free. Your generation will never lack helpers; they'll continue to soar higher and higher. You are a blessing to many.

  • @MotoCruiseTamil
    @MotoCruiseTamil Год назад +19

    I'm not a guy who sit for an hour to watch a video, but this video especially this particular one, I never ever felt any tiredness or boring, it just went smooth. Seriously the lecture was superb! never felt like this! Kudos man🎉

  • @utkarshsinghal5011
    @utkarshsinghal5011 3 года назад +15

    the thing in which the channel is best at : providing quality content for free

  • @devangsaini4783
    @devangsaini4783 Год назад +208

    Dear Kunal, I once saw your instagram stories and got to know you are kinda upset with Indian students. I know some people do annoy you and really irritate you but still many of us look upto you and rely on you for top notch content for absolutely free. I request you to please continue providing free knowledge and please do not let the negative people stop you. I personally have a paid course too but the content you provide is far ahead of the content in the course. I really look upto you for my knowledge in tech, hence I request you to please do not bring paid courses and keep everything for free. You can increase the frequency of ads in the video and we are fine with that. I know it takes a lot of effort to create this content and then providing it for free is not justified. But still there are lakhs of students who are deprived of the quality education and you are the one proving to be the saviour. Hence I deeply request you to please continue providing free knowledge to us.

  • @heyitsKim1912
    @heyitsKim1912 Год назад +1

    Thanks!

    • @AN-hb6ly
      @AN-hb6ly 27 дней назад

      Why are all Vietnamese named Nguyen

  • @mourya_yenumula
    @mourya_yenumula 3 года назад +50

    No doubt kunal this is the best video on linked list and off course the whole boot camp stands at the top position . Your explanation is just 🔥🔥🔥🔥 .

    • @thinkingmad1685
      @thinkingmad1685 3 года назад +1

      You watched it whole 😯 in 1 hour 😒

    • @mourya_yenumula
      @mourya_yenumula 3 года назад +2

      @@thinkingmad1685 I watch lectures at ×2 speed

    • @mourya_yenumula
      @mourya_yenumula 3 года назад +1

      I was at 1:36:18 while posting the comment

    • @kushagramudgal398
      @kushagramudgal398 3 года назад

      Its a pretty good video but mycodeschool still has the best ds videos on RUclips

    • @mourya_yenumula
      @mourya_yenumula 3 года назад +5

      @@kushagramudgal398 Oh I haven't seen . But I found his explanation the most amazing . But I think Code School doesn't provide these many assignments and examples. Also he is trying to cover all the topics including advanced DS .

  • @nishantsingh2513
    @nishantsingh2513 3 года назад +19

    Bro never ever delete these videos from the channel please i am requesting you.
    How someone can provide this level of content for free🙂🙂.
    This is insane👌🏻👌🏻

  • @ayushgoel4660
    @ayushgoel4660 3 года назад +18

    Thanks for being consistent until now. Bang on!

  • @shafaq-here
    @shafaq-here 3 года назад +16

    Amazing way to introduce a data structure by teaching us to create our own, Linked List is now simpler than it was ever before.

    • @sumanjyoti6063
      @sumanjyoti6063 8 месяцев назад

      Everyone teaches linked list in this manner only , by creating linked list

  • @meetjain9178
    @meetjain9178 11 месяцев назад

    kunal has done such amazing work, his teaching and guidance is impeccable. It's been two and a half months and I have learnt so many things in depth without sweating over hard topics like this one.

  • @btryx9378
    @btryx9378 3 года назад +6

    Thanks for this video, this is exactly what I need to get through a certain job test.
    Edit: im halfway through, this video is a blessing I finally understand everything i haven't before.

  • @Anshulpundir-u1s
    @Anshulpundir-u1s 6 месяцев назад +8

    "I was struggling to understand DSA, but your playlist has been a game-changer! Now I'm feeling like, 'Is it really this hard?'"
    😀

  • @Helly_Patel
    @Helly_Patel 3 года назад +33

    Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!

  • @siddiksid3287
    @siddiksid3287 Год назад +2

    This is the best Dsa course i've seen so far.Thanks for making me fall in love with programming

  • @henishapanchal654
    @henishapanchal654 Год назад +6

    Perfect! you saved a lot of time going through books and notes with this simple LinkedList understanding!

  • @ramanshrivastava1407
    @ramanshrivastava1407 10 месяцев назад +1

    amazing content. no one can replace kunal

  • @harshjaiswal1634
    @harshjaiswal1634 3 года назад +181

    Bro the distinguished thumbnails you're putting for each topic is so impressive 👏👏

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +35

      Thank you so much 😀

    • @prajwalpande3757
      @prajwalpande3757 2 года назад +3

      Yes sir... It's really clarifies everything

    • @Adarshkumar-uk5is
      @Adarshkumar-uk5is 2 года назад +15

      @@KunalKushwaha Please bro make videos on Trees, Dynamic Programming, Heap & Greedy.

    • @vaishnaveejagtap954
      @vaishnaveejagtap954 2 года назад +6

      @@KunalKushwaha please do make videos on dynamic programming.

    • @ayankhanra7910
      @ayankhanra7910 2 года назад +3

      @@Adarshkumar-uk5is I think he quitted🙂

  • @rohanharichandan1503
    @rohanharichandan1503 2 года назад

    linkedlist was taught in my 2nd sem i was unable to understand it , even after watching a ton of videos on youtube, but after watching this lecture only i solved leetcode questions without even watching your leetcode solving video.
    thanks a ton,

  • @shubhamagarwal1434
    @shubhamagarwal1434 Год назад +2

    # GOD Of DSA
    Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May God Vishnu Bless You :)

    • @Ayushsharma-qc7qx
      @Ayushsharma-qc7qx Год назад

      Bro you feel amazing watching this cause you Are an experienced person not an amateur that is learning first time

  • @shreyasnaphad3284
    @shreyasnaphad3284 3 года назад +58

    Glad to see the linked list topic completed in a single awesome video

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +53

      Questions videos to come

    • @ramakrishna4092
      @ramakrishna4092 3 года назад +4

      @@KunalKushwaha is there any live streaming on weekends to hear the comments directly and reply to them ... I am wondering to ask few questions on live streaming kunal

    • @chaitanbruce9217
      @chaitanbruce9217 3 года назад +3

      @@KunalKushwaha when will this COURSE complete brother?

    • @parthvaghela3306
      @parthvaghela3306 3 года назад +3

      @@chaitanbruce9217 same que bro

    • @parthvaghela3306
      @parthvaghela3306 3 года назад +2

      @@KunalKushwaha hey kunal we also want combine notes for revision

  • @aashashanmugam
    @aashashanmugam 9 месяцев назад +3

    THE best video on LinkedLists. Can't appreciate enough. Thanks Kunal!

  • @adityarajagrawal6899
    @adityarajagrawal6899 2 года назад +1

    Dude you are legit cool. And by watching your videos, even when I am stuck somewhere and I start talking to myself, I am using phrases like cool, ok, thats it, simple! Love your work man

  • @srchoudharyy
    @srchoudharyy 3 года назад +8

    Feeling Happy for seeing your graph increasing exponentially.
    Keep it up.

  • @geetankarkarmakar378
    @geetankarkarmakar378 2 года назад +1

    conceptual clarity ->100, after watching the video. Hats off !

  • @md-abid-hussain
    @md-abid-hussain 2 года назад +2

    I don't think I'm going to forget this concept

  • @ritikkhatana5105
    @ritikkhatana5105 3 года назад +3

    Are la re best teacher ka award la re.

  • @sandeepmukherjee739
    @sandeepmukherjee739 3 года назад +7

    programming is so much fun if you have a great mentor like him

  • @Nitish___toh__gya
    @Nitish___toh__gya Месяц назад +2

    finally i'm at lec number 44 i had started this playlist in april but biggest downfall came to mylife like losing father, own health issue after that still again and again i started it and now i'm at linked list lec ..... over there yt there are a lots of ytubers but kunal ur gem for me , many times i laugh by ur expression while watching your lec. usually i don't comment on every lec but i thought to comment ryt nw just bcz let u kw that still people around the world watching this prestigious course .. Thanku Bhai 🥰

  • @pratiklohar4566
    @pratiklohar4566 9 месяцев назад +1

    Hats of to your knowledge ! 🙌The way you break things and make them simple to understand is amazing. You are helping millions for free. Keep up the good work. God bless you with good health, knowledge and prosperity.🖤

  • @vikaskumarnitrr
    @vikaskumarnitrr 3 года назад +4

    literally watched this video 3 times but i got a better understanding everytime atlast i have understood it thanks bhaiya...

  • @Sunshine-dc4lt
    @Sunshine-dc4lt 3 года назад +24

    Thanks Kunal , keep up the good work. Ignore the hate which they want to spread against you. And always guide us to right path.

  • @amruthaa5876
    @amruthaa5876 3 года назад +8

    Consistency. Woah. Huge respect ❤️

  • @sugyaneesahu3585
    @sugyaneesahu3585 2 года назад +18

    Really impressed to see the effort you put in while teaching each and every topic. Extremely helpful.Thanks!

  • @dharani_dharan.r4680
    @dharani_dharan.r4680 2 года назад +10

    Thankyou very much for this wonderful bootcamp !
    Especially your linkedList and stack queue videos extremely helped me to get placed in zoho as a developer . Most needed content and beautiful explanations kunal brother ❤.

  • @heyutkarshhh
    @heyutkarshhh 3 года назад +4

    Amazing . Watched the entire playlist till now .
    btw the community really helps in comments also !

  • @stellarrr002
    @stellarrr002 Месяц назад +1

    Just few friends holding each other's hands, each knowing whose hand they're holding.

  • @MariaSalmaSayeed
    @MariaSalmaSayeed 15 дней назад +1

    "ok" , "cool" , "very awsome ", "sound good?"

  • @ADITYARAJ-yv2tr
    @ADITYARAJ-yv2tr 3 года назад +19

    Thank You for making such great contents.........in binarysearch i had been trying to solve a question for over 2 month...i had also watched their solution but never understood the approach but after watching your videos i had solved 3 hard level question on my own. Can't express my feeling.....🥺🥺🥺🥺

  • @kowshikroyal1337
    @kowshikroyal1337 5 месяцев назад

    Thank you Kunal... I was sad because of missing such a good teacher for so many years,But I was cured after seeing your playlist❤❤

  • @annusingh4694
    @annusingh4694 3 года назад +11

    You are making history! 💯

  • @ferdoushasan6823
    @ferdoushasan6823 3 года назад +4

    most awated topic.
    Thanksa Kunal for the Linked list tutorial.
    Also, Apart from all controversies, you are doing great for the community.
    Love from Bangladesh ❤️

  • @yashtibra3684
    @yashtibra3684 3 года назад +4

    Finally Linked List is here. Was waiting excitedly.Thanks Kunal✨✨

  • @raktimghosal4562
    @raktimghosal4562 3 года назад +27

    Your teaching skill is marvelous. You should try teaching at MIT or Havard.

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +27

      maybe someday

    • @thechaoticmonk7339
      @thechaoticmonk7339 3 года назад +8

      Bhaisaab kuch zyada ni ho gya, matlb kuch bhi

    • @DipakKumar-ey9ix
      @DipakKumar-ey9ix 3 года назад +1

      @@satyabansahoo1862 and moreover , moron's remarks are not taken into consideration , so better luck next time.

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +33

      @@satyabansahoo1862 funny thing is you a hater and still watching my tutorials lol

    • @civa-ji
      @civa-ji 3 года назад +4

      @@KunalKushwaha yee hui n bat...he is hater but still he is here and learning 😂

  • @ranuagrawal6077
    @ranuagrawal6077 2 года назад +4

    dude, he was sick here. I would've slept for the entire day instead of making this video

  • @SrabonDebnath-r4x
    @SrabonDebnath-r4x 11 месяцев назад

    You are the best sir, Thinking in pen and paper wow, If I knew that before, lots of respect, sir......

  • @shurshuf7588
    @shurshuf7588 Год назад +10

    Great teacher! Your display of the nodes written on the board really helped conceptually understand linked lists and your immediate implementation of those concepts in code was exactly what I needed to put "two and two" together. You are very concise, precise, and efficient in your teaching and I greatly GREATLY appreciate your effort in making these educational videos!

  • @KoushikDasMagnate2005
    @KoushikDasMagnate2005 9 месяцев назад +2

    47:51 "How easy is it now?" The confidence is lit .

  • @jaiadityachaudhary431
    @jaiadityachaudhary431 2 года назад +2

    Bhaiya bestest course for DSA ...Please upload more video on DSA topics i.e linear data structure ,other cant teach the way you teach

  • @tech_depth1874
    @tech_depth1874 4 месяца назад +1

    Bro you just nailed it ! thanks a lot for making this kind content for free ❤

  • @SlavaBogatov
    @SlavaBogatov 3 года назад +12

    Hey Kunal, thank you for your videos.
    I was coding along with you (trying on my own and checking back), was running different tests and found some mistakes.
    In your version of circular linked list there is an NPA for the display method if our list is of size 1. I realised, it is because you didn't assign
    head.next = node;
    tail.next = node;
    when creating the first Node in the insert method.
    The delete method of CLL works with list size > 1, and will not delete the only node in the list of size 1. So I added this code:
    if(size == 1 && head.value == value) {
    head = null;
    tail = null;
    size--;
    return;
    }
    And if there is no need in extra variable such as 'size' (like there is no in the video), we can use
    if(head.next == head && head.value == value)
    Thanks again, and don't take this as a critique (maybe a very little), but through this self work I deepen my understanding.

  • @dhawalparmar7117
    @dhawalparmar7117 2 года назад

    Your teaching methodology is very excellent, Now I can code complete linked list without the need of pen paper 📜✍️

  • @ChiranjeeviGaming2003
    @ChiranjeeviGaming2003 5 месяцев назад

    In youtube First Time i will be going to complete the whole playlist , wonderful bootcamp ,lots of thank u 🥰

  • @avinashpowar1804
    @avinashpowar1804 Год назад

    Sure, here's a more casual and conversational version:
    Hey there! Just checked out your linked list video, and it's awesome! 🚀 Your explanations made it so much easier to grasp, and the examples were spot on. Thanks a bunch for creating such helpful content! Can't wait to binge-watch more of your stuff and level up my coding learning. Keep those videos coming! 👍😊

  • @iKiranJ
    @iKiranJ 2 года назад

    kunal Sir , you are awesome , my confidance level is now like 100% ..its only because of you, and i recommend this playlist to so many freinds. lots of love sir, thank you for you r time efforts

  • @anuragbudakoti755
    @anuragbudakoti755 2 года назад +1

    Best DSA Course.

  • @pranaypulipaka
    @pranaypulipaka 3 месяца назад +1

    No words, excellent Course by Kunal!

  • @satyampandey3136
    @satyampandey3136 5 месяцев назад

    Thank you so much kunal. You are helping lot of people. I think you are changing many people's life.

  • @ankit_1012
    @ankit_1012 3 года назад +2

    Many people can make you understand this topics. But only few of them can give you feel of such topics.. And kunal is certainly one of them.
    Desperately waiting for the questions and assignments video 😁😁😁

  • @RishabhxShukla
    @RishabhxShukla 3 года назад +5

    I waited so long for this.. Thank you!!

  • @Hamim-Talukdar
    @Hamim-Talukdar Год назад

    I've completed all the above tutorials and I learned a lot. May Allah bless you🖤💙

  • @Chetann_
    @Chetann_ Год назад

    Hats off to you brother for delivering quality rich content despite being sick!

  • @mathlover7688
    @mathlover7688 2 года назад +3

    Kunal bhai aage ka tree ,hashing ,graph nhi h kya ,h toh upload kar do
    You are only the teacher from I am able toh understand everything
    You make me fearless from data structure
    Love you bhai love you ❤️❤️❤️❤️

  • @amanbisht4286
    @amanbisht4286 3 года назад +2

    Kunal Your videos are amazing all the concepts has been taught very well even I don't get bored while I watch your videos

  • @abhimanyutripathi9
    @abhimanyutripathi9 6 месяцев назад +2

    In CLL just add one condition that if(n ==tail){ tail == node; } in that if condition of do while, so that if you are deleting the last element then after that you wanna insert an element, it will be added as expected, if we would not add this above condition and try to insert after deleting last element it will not insert element when you display

  • @AMNikhil-k4b
    @AMNikhil-k4b Год назад +1

    I think his voice changed due to some cold or something, his dedication is unmatchable hope he recovers soon

  • @1015_AartiDadas
    @1015_AartiDadas Год назад

    There is a neighbour child who looks 90 percent similar to you now. he is of 13 years old .... So i feel that you looks same as him but your knowledge makes difference!!!

  • @manvithkumbla
    @manvithkumbla 2 года назад +4

    Too good !! Kunal's thought process in explaining the concepts is really cool. I have seen the same code in other lectures but the insight he gives is excellent !!

  • @rahulankana
    @rahulankana 2 года назад +5

    The dedication and passion toward sharing the knowledge you have is just awesome, and love the way you teach❤

  • @tofumakesvideos
    @tofumakesvideos 10 месяцев назад

    Hello Kunal,
    Great tutorial ! God bless, I came across your detailed and clear tutorial. I'm a big fan of the pauses you make between sentences, it really helps the information sink into my brain.
    Best wishes from Canada.

  • @rakeshsagar9510
    @rakeshsagar9510 Год назад

    His commitment and knowledge is amazing.

  • @Praneeethh
    @Praneeethh Год назад

    "The million dollar course for free" .. You are a gem brother

  • @abdurrahmansa3763
    @abdurrahmansa3763 3 года назад +5

    Awesome explanation. This is the first video I am seeing from your collection and I'm impressed by your way of explaining concepts. Pls continue posting on other data structures like trees, graphs

  • @rishabsharma9915
    @rishabsharma9915 3 года назад +21

    New series to binge watch this playlist 🔥 kunal ur just awesome bro thanks very much

  • @rajneeshyadav3444
    @rajneeshyadav3444 2 года назад +1

    Watched More Than 10 Video In RUclips , But No One Explain's Like You ...

  • @mathialagant
    @mathialagant 2 года назад +4

    I'm a Tamilian, and I often find tutorials in Hindi. But my man at 47:22 , you won my heart

    • @beatx2173
      @beatx2173 2 года назад

      What won your heart??

  • @vishalgowrav
    @vishalgowrav 3 года назад +1

    The best Linked list video u'll ever find!🔥

  • @cupofjava5480
    @cupofjava5480 2 года назад

    your logic is outstanding, the idea of the temp node is smart

  • @bhushankumarkhade2985
    @bhushankumarkhade2985 Год назад +2

    Draw it...
    Code it...
    That's it...💯

  • @nabhagmotivaras2884
    @nabhagmotivaras2884 3 года назад +2

    Other Bootcamps : We can Understand the concept but couldn't code on our own.
    Kunal's Bootcamp: We can Visualise,Understand and can code before we reach "Lets code this".

  • @koushiksaha3511
    @koushiksaha3511 2 года назад +2

    Thanks Kunal, it's helped me a lot. It's really awesome the way you explain the topic in all of your videos. 👍

  • @kushalgandhi26
    @kushalgandhi26 3 года назад +9

    No one has provided this kind of primium knowledge about DS algo at free of cost

  • @abdulmalikkhan8393
    @abdulmalikkhan8393 2 года назад

    kunal bhiya ap agr ye playlist urdu ya hindi mn banaty super doper hit jati
    overall ap ka smjhny ka method bhot axha hain
    God bless you

  • @SandipDas-ww4ph
    @SandipDas-ww4ph 2 года назад +2

    Placement season are just knocking and your videos are really helpful

  • @irtebatI
    @irtebatI 6 месяцев назад

    Great content. Thanks.
    Quick note: In the last section "deletion in Circular Linked List", the approach does not cover the scenario when the element to be deleted is the tail element ( additional steps to cover this case: check whether the element is the tail element, then update tail accordingly ).

  • @ANKITASINGHBCE
    @ANKITASINGHBCE 3 года назад +3

    Thank you for this awesome explanation I was struggling a lot in data structure I am so grateful to you

  • @KrunalTayade-g3g
    @KrunalTayade-g3g 2 месяца назад

    congras for 700 k subscribers i am watching you from 6 month and study a lot from you thank you 😊😊

  • @varsha_bhat
    @varsha_bhat 2 года назад +19

    Thank you for these amazing videos! Waiting for videos on binary trees, graphs and Binary heap concepts.

  • @theycallmesloth
    @theycallmesloth 2 года назад +2

    GOAT course 🙇