Delete all the odd nodes from a Doubly Linked List
Given a doubly linked list containing N nodes, the task is to delete all the odd nodes from the list. Examples : Input: Initial List = 14 15 5 6 16 Output: Final List = 15 5 Input: Initial List = 6 4 7 9 5 2 3 10 Output: Final List = 7 4 5 3 The… Read More »
