Implement the structure of Singly Linked List and Node in Java - Linked List in DSA

Sdílet
Vložit
  • čas přidán 21. 05. 2024
  • Singly Linked List is a data structure that stores data in the form of a series of nodes. The data structure has the following properties -
    1. It contains a sequence of nodes.
    2. A node has data and a reference that points to the next node in a list.
    3. The first node is the head node. It holds the complete list.
    4. The last node has data and the next points to null or None.
    5. It is a one-way list or forward direction list.
    ►Full DSA Course - • Data Structures and Al...
    ►Follow me on Instagram - bit.ly/intrvwkckstrt
    ►Follow me on LinkedIn - bit.ly/fllwlkdn
    ►Enroll in the complete course: bit.ly/3W4qthg
    ►Source Code - github.com/dinesh-varyani/ds-...
    ►Download DSA Animation Slides - techready.in/courses/150-dsa-...
    ►Click here to subscribe - czcams.com/users/hubbersp...
    Watch all my playlist here:
    ►Data Structures and Algorithms Course playlist: • Data Structures and Al...
    ►Mastering JUnit 5 - czcams.com/users/playlist?list...
    ►Mastering Mockito 3 - • Mockito 3 Tutorials
    ►Analysis of Algorithms - • Analysis of Algorithms
    ►Linked List Data Structures - • Linked List Data Struc...
    ►Array Data Structures - • Playlist
    ►Stack Data Structure - • Stack Data Structure
    ►Queue Data Structure - • Queue Data Structure
    ►Binary Tree Data Structure - • Binary Tree Data Struc...
    ►Graph Data Structure - • Graph Data Structure
    ►Binary Heap Data Structure - • Binary Heap Data Struc...
    ►Trie Data Structure - • Trie Data Structure
    ►Dynamic Programming Algorithms - • Dynamic Programming Al...
    ►Hashing Data Structures - • Hashing Data Structures
    ►Sorting and Searching - • Sorting and Searching
    ►String Algorithms - • String Algorithms
    #dsa #algorithms #coding
  • Věda a technologie

Komentáře • 10

  • @patel5532
    @patel5532 Před 13 dny

    Didn't get the static Node class, What's the benefit for creating Node as inner static class and not the regular class. Is it because we don't want to modify out outer class instance variable from inner class. Or Is there any other reason.

  • @patel5532
    @patel5532 Před 18 dny

    Hi Dinesh sir, You haven't added previous videos in this playlist. Could you add the previous videos as well so we can follow the playlist in order

  • @learnandearn1851
    @learnandearn1851 Před 23 dny +1

    Sir good morning,sir, i want to know what is prerequisite of this course.

    • @itsdineshvaryani
      @itsdineshvaryani  Před 22 dny +1

      Learn the basics of Java !!! Like variable, classes, if else, loops, objects etc

    • @learnandearn1851
      @learnandearn1851 Před 22 dny +1

      @@itsdineshvaryani ok sir thank you.

  • @nirmalapandey816
    @nirmalapandey816 Před 24 dny

    Any possibility to connect with you