Module 2.1 Doubly Linked List
Module 2.1 Doubly Linked List
• leftlink field contains the pointer to the previous node in the list
• rlink field contains the pointer to the next node in the list
• The structure of a doubly linked list
• The leftlink field of the start node and the
can be given as:
rlink field of the last node will contain
struct node
{ NULL.