Doubly Link List
- As we can see here two nodes are connected among themselves with two links between them.
- For first Node node0, next Node is node1 and node1 is connected with previous link between node0 and node1.
- Here first node is head and the last Node is tail. Both have value null and we same logic which we have in singly link list.
No comments:
Post a Comment