Skip to content

Tag Archives: Linked Lists

Given a linked list consisting of N nodes and an integer K, the task is to split the given Linked List into K continuous groups… Read More
Given two linked lists of size N and M consisting of positive value nodes, having a common intersection point, the task is to find the… Read More
Given a Linked List and two integers X and Y, the task is to remove all occurrences of Y after the first occurrence of a… Read More
Given an XOR linked list, the task is to delete the node at the end of the XOR Linked List. Examples: Input: 4<–>7<–>9<–>7Output: 4<–>7<–>9Explanation: Deleting… Read More
Prerequisites: Linked list Problem: Create a student Record Management system that can perform the following operations: Insert Student record Delete student record Show student record… Read More
In a Circular linked list, every element has a link to its next element in the sequence and the last element has a link to… Read More
Given a XOR linked list, the task is to pairwise swap the elements of the given XOR linked list . Examples: Input: 4 7 9… Read More
Given a XOR linked list and an integer K, the task is to reverse every K nodes in the given XOR linked list. Examples: Input:… Read More
Given a XOR linked list, the task is to reverse the XOR linked list. Examples: Input: 4 <–> 7 <–> 9 <–> 7Output: 7 <–>… Read More
There are many data structures like arrays, linked lists, etc. Each sort of arrangement has its strengths and weaknesses. For these reasons, it’s important to… Read More
In this article, we will learn about deleting a node from the ending of a circular linked list. Consider the linked list as shown below: … Read More
In this article, we will learn about deleting a node from the beginning of a circular linked list. Consider the linked list as shown below.… Read More
Given a XOR linked list and two integers position and value, the task is to insert a node containing value as the positionth node of… Read More