Linked List Tutorial in Java | Learn by doing: implement your own Singly Linked List

Published: 01 December 2020
on channel: Java Coding Community
2,135
29

Linked List Tutorial in Java for Beginners. Singly Linked List Tutorial.

Today I am going to show you the intuition and logic behind Linked Lists and at the end show you the code so you can really understand what is going on without focusing on one programming language.

These are the most common ones:
Singly Linked list where each Node has a pointer to the next Node,
Doubly Linked List where each Node has a pointer to next and previous Node,
And Circural Linked Lists where the last node points to the first node.

Today, I'll focus on Singly Linked List but the logic behind stays almost the same.

Let's give a formal definition of a Linked List:
Like arrays, Linked List is a linear data structure. Unlike arrays, linked list elements are not stored at a predefined location in order, the elements are linked using pointers. So, lets take a visual look at how we represent a linked list and nodes.


On this page of the site you can watch the video online Linked List Tutorial in Java | Learn by doing: implement your own Singly Linked List with a duration of hours minute second in good quality, which was uploaded by the user Java Coding Community 01 December 2020, share the link with friends and acquaintances, this video has already been watched 2,135 times on youtube and it was liked by 29 viewers. Enjoy your viewing!