Given an unsorted doubly linked list containing n nodes. The problem is to remove duplicate nodes from the given list.
Examples:
Recommended: Please try your appro...

Share

Given a sorted doubly linked list containing n nodes. The problem is to remove duplicate nodes from the given list.
Examples:
Recommended: Please try your approach...

Share

Given a doubly linked list containing n nodes, where each node is at most k away from its target position in the list. The problem is to sort the given doubly linked ...

Share

Given a doubly linked list, the task is to find the size of that doubly linked list. For example, size of below linked list is 4.
Recommended: Please try your appro...

Share

Sort the given biotonic doubly linked list. A biotonic doubly linked list is a doubly linked list which is first increasing and then decreasing. A strictly increasing...

Share

Given a Binary Tree (BT), convert it to a Doubly Linked List(DLL) In-Place. The left and right pointers in nodes are to be used as previous and next pointers respecti...

Share

Given a doubly linked list and a key x. The problem is to delete all occurrences of the given key x from the doubly linked list.
Examples:
Recommended: Please try ...

Share

A Doubly linked list is a linked list that consists of a set of sequentially linked records called nodes. Each node contains two fields that are references to the pre...

Share

Given a doubly linked list, rotate the linked list counter-clockwise by N nodes. Here N is a given positive integer and is smaller than the count of nodes in linked l...

Share

Can we search in a sorted linked list in better than O(n) time?
The worst case search time for a sorted linked list is O(n) as we can only linearly traverse the list ...

Share