Sunday, March 15, 2020

Linked List

Linked list is more dynamic than Array list. It can store/delete unlimited data.
Actually, there are 3 types of linked list in data structures;

  1. Singly Linked List
  2. Doubly Linked List
  3. Circular Doubly Linked List

  • Singly Linked List
    • Simply, here is the example of a singly linked list.


  • Doubly Linked List
    • Doubly linked list is like singly linked list, but it have two direction for each list, so they could go to the head or tail direction.
    • Here is the example of doubly linked list.

  • Circular Doubly Linked List
    • I may say that circular doubly linked list is a kind of combination of singly and doubly linked list. 

0 comments:

Post a Comment