What is a doubly linked list
A Doubly Linked List is a unique type of Data Structure where there are a chain of nodes, that are connected to one another using pointers, where any individual node has 3 components –
- Data
- Previous Pointer
- Next Pointer
For any node, its previous pointer contains the address of the previous node and the next pointer contains the address of the next node in the chain of nodes.