Types of linked lists, Circular, doubly linked list, Doubly linked list, Circular, singly linked, Singly linked list

Types of linked lists, Circular, doubly linked list, Doubly linked list, Circular, singly linked, Singly linked list


Types of linked lists:


Singly linked list
 

Begins with a pointer to the first node
Terminates with a null pointer
Only traversed in one direction
 

Circular, singly linked
Pointer in the last node points
    back to the first node
 

Doubly linked list
Two “start pointers” – first element and last element
Each node has a forward pointer and a backward pointer
Allows traversals both forwards and backwards
 

Circular, doubly linked list
Forward pointer of the last node points to the first node and backward pointer of the first node points to the last node

Labels: