Header Linked List
Header Linked List
By
Arvind Kumar
Asst. Professor
START
Ø
HEADER NODE
Advantages of Header Linked List
• Header linked list contains a special node at the top.
• This header node need not represent the same type of data that
succeeding nodes do.
• Header node can access the data of all the nodes in the linked
list.
Types of Header Linked List
A Grounded header list is a header list where the last node
contains the null pointer.
A Circular header list is a header list where the last node
points back to the header node.
Two- way Header Linked list
Circular Two- way Header Linked list
Note:
• Unless otherwise stated or implied, header list will always be circular
list.
• Accordingly, in such a case, the header node also acts as a sentinel
indicating the end of the list.
START
Ø
HEADER NODE
HEADER NODE