Simple Data Structure

  1. SLL(Singly Linked List)
  2. CLL(Circular Linked List)
  3. DLL(Doubly Linked List)
  4. CDLL(Circular Doubly Linked List)
Linked List Image (Source : AlphaCodingSkills)
class LinkedList
{
Node head;
class Node
{
int data;
Node next;
Node(int d)
{
data = d; next = null;
}
}
}
Doubly Linked List

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store