**Objective: **Given a singly linked list, split it into two linked lists. These linked lists will contain the alternate nodes from the given linked list.

**Example**:

Objective: Given a linked list in which nodes are sorted in ascending order. Write an algorithm to insert a given … Read more

Objective: Given, K sorted linked list, Write an algorithm to merge all the linked list into one linked list which … Read more

Objective: Design and Implement a data structure Least Recently Used (LRU) Cache. Least Recently Used (LRU) Cache: You have given … Read more

Objective: Write an algorithm to implement Stack using Linked List. If you do not know about then for starters it’s … Read more

In this article, we will see what is doubly linked list is, how it is different from other linked lists … Read more

Earlier we have seen what Singly Linked List is and How to implement it. In a way, you say that … Read more

Objective: Given a linked list write an algorithm to swap nodes in pairs by changing links. Earlier we have seen … Read more

Objective: Given a linked list and a number ‘k’, write an algorithm to reverse alternate ‘k’ nodes in the linked … Read more

Objective: Given a linked list and integer ‘k’, write an algorithm to reverse the linked list in groups of size … Read more

**Objective: **Given a singly linked list, split it into two linked lists. These linked lists will contain the alternate nodes from the given linked list.

**Example**:

Objective: Reverse The Doubly Linked List. Example: Approach: Every Node in a doubly-linked list has the next and previous pointer. … Read more

Objective: Given a Linked List and a number k, Swap Kth Node from the front with the Kth Node from … Read more

Objective: Given a Linked List and x and y. Delete x number of nodes after y nodes from the start. … Read more

Objective: Given a Linked List, Sort it using merge sort.Example: ->9->3->4->2->5->1 Sorted List: ->1->2->3->4->5->9 Approach: Reference : Merge Sort in … Read more

Objective: Given two linked lists, merge one list into another at alternate positions, if second link list has extra nodes, … Read more