Insert a node in a Singly Linked List at a given position (Animation)

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 57

  • @itsdineshvaryani
    @itsdineshvaryani  4 роки тому +5

    Please *Subscribe* and *Click Bell* 🔔🔔🔔 Icon for More Updates. To get *Data Structures and Algorithms* complete course for free please follow this link - ua-cam.com/play/PL6Zs6LgrJj3tDXv8a_elC6eT_4R5gfX4d.html

  • @sanjivchauhan1155
    @sanjivchauhan1155 5 місяців тому +1

    Excellent Videos in DSA. Thanks a lot. MAY GOD BLESS YOU.

  • @shubhamagarwal1434
    @shubhamagarwal1434 2 роки тому +5

    Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over UA-cam with java implementation and found this. Hats Off To You Man...Excellent Work. GOD BLESS YOU :)

  • @deepakbaravkar109
    @deepakbaravkar109 3 роки тому +4

    This is the first time I'm commenting on somone's video because I found this very helpfull.
    I was searching for DSA and finally reached here. Great explainantion, The way you are using to clear things is very easy to understand. Thank you sir🙏

  • @raz0229
    @raz0229 3 роки тому +14

    Only DSAs that make complete sense to me are in Java. Thanks to you, kind teacher

  • @jainababah6718
    @jainababah6718 Рік тому

    So far, this is the best tutorial I've watched on DSA ❤

  • @samuel_william
    @samuel_william 3 роки тому +3

    This tutorial is very useful for preparing DSA Interviews, Loving it so much. All the code explained are very clear and precise.

  • @aishwaryagupta1399
    @aishwaryagupta1399 3 роки тому +6

    I can never thank you enough for this playlist, discovered it yesterday. Amazing content!!

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому

      Welcome !!!

    • @aishwarya11223
      @aishwarya11223 Рік тому

      same same.......

    • @ObethEanest
      @ObethEanest 6 місяців тому

      Sir is this more enough for to get a basic knowledge about dsa to get job in faang companies

  • @iramkhan23
    @iramkhan23 3 роки тому +4

    Simply amazing! I checked many videos but this playlist was most comprehensive and explanation is very clear and all cases are covered well as well as explained using animation and also through Java code in eclipse! what more could one ask for... Hats off.. keep up the great work.. Thank you so so sooooo much!!! :):):)

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому +1

      Welcome !!! Request you to share the playlist with ur friends and colleagues !!!

    • @aishwarya11223
      @aishwarya11223 Рік тому

      this is really perfect playlist

  • @ChetanMishra-id8er
    @ChetanMishra-id8er 3 роки тому +2

    you are great man keep it up we students need more mentors like you on youtube

  • @dineshr4732
    @dineshr4732 3 роки тому +2

    Thanks a lot Dinesh Varyani. This has helped me a lot.

  • @fahadminhas4119
    @fahadminhas4119 3 роки тому +1

    I just can't explain what this tutorial meant to me , thankyou bro , May Allah keep you blessed

  • @Abhishekk577
    @Abhishekk577 3 роки тому +2

    Big Thanks to you for this amazing playlist . Amazing Content

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому +1

      Welcome !!! Keep supporting. Please share it with your friends and colleagues as well !!!

  • @rohitsinghal4229
    @rohitsinghal4229 3 роки тому +4

    Sir if in case we have a SinglyLinkedList of having length 2 and we want to insert a newNode in 4th position then....

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому +3

      usually we keep size as instance variable and we compare position with it ... if position is greater than size we either return or throw an exception !!!

    • @rohitsinghal4229
      @rohitsinghal4229 3 роки тому +2

      @@itsdineshvaryani Thanks sir 😊

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому +1

      @@rohitsinghal4229 welcome !!!

  • @appikeeru5785
    @appikeeru5785 7 місяців тому

    I love your patience😂❤

  • @sanjushekhawat6446
    @sanjushekhawat6446 4 роки тому +3

    Excellent teaching way thanks lot Sir

  • @seemantjain9159
    @seemantjain9159 2 роки тому

    Thank you for these videos Dinesh sir

  • @NikhilSingh-sl1cx
    @NikhilSingh-sl1cx 3 роки тому +2

    Great explanation.... Thanku sir🙏

  • @haroldgregconor1513
    @haroldgregconor1513 3 роки тому +2

    do u have singly linked list that input data of how many nodes and the value of it?

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому

      didn't get your question. please elaborate more !!!

  • @achiever27
    @achiever27 3 роки тому +1

    Very very nice and quality content.

  • @dineshnembang9657
    @dineshnembang9657 3 роки тому +2

    amazing explanation

  • @naitikpitroda1151
    @naitikpitroda1151 2 роки тому

    nice explanation

  • @akki.EditsX
    @akki.EditsX 3 роки тому +2

    Salute to you sirji

  • @mrsst1
    @mrsst1 2 роки тому +1

    Sir which software is used for making this animative content, kindly tell🥺

  • @pragyatomar9688
    @pragyatomar9688 3 роки тому +3

    This algorithm will not work is position = 2 bcz at position = 2
    while(count< position -1 ) will not work as 1

    • @itsdineshvaryani
      @itsdineshvaryani  3 роки тому +1

      Good catch !!! Its actually missed in slide ... Check for proper code in description of video ... previous should be at head ... Can u check video from 5:00 ...

    • @Unknown-Stranger
      @Unknown-Stranger 3 роки тому +1

      @Pragya Tomar you should first dry run the code then post the mistake, it will work fine even the while condition is failed because position is at head and should be behind of new node which we will insert.

    • @codewithbharath8607
      @codewithbharath8607 3 роки тому

      while runs when you insert the node after 2 position because when u insert node at two there is no need to run while check it out thankyou!!!

    • @Sohelkhans50
      @Sohelkhans50 2 роки тому

      @@itsdineshvaryani please pin this comment to top

  • @skysefall7976
    @skysefall7976 2 роки тому +1

    has this course completed ? i found very usefull but if course not complete then it will break my flow. please tell me, so can continue this course because after 10 days i have an interview.

    • @itsdineshvaryani
      @itsdineshvaryani  2 роки тому

      You first complete whatever there is ... It will take more than 10 days to complete ...

  • @karentechnologies3990
    @karentechnologies3990 2 роки тому +2

    It's very confusing to count the position from 1, we always count from 0

  • @ekansh6267
    @ekansh6267 Рік тому

    👌👌

  • @modinglymods4085
    @modinglymods4085 Рік тому