Programs must be written for people to read, and only incidentally for machines to execute. Abelson / Sussman
Write a program to delete the node in doubly linked list. The doubly linked list has two references one refer to the previous node and another refer to the next node. Delete node operation can delete head, tail or any position from the linked list.
Add 34 and 10 to the list. Add 56 and 364 to the list. Iterate the elements forward from Linked list: 34 10 56 364 Remove first element from the list: 34 Remove last element from the list: 364 Iterate the elements Backward from Linked list: 56 10