# Category Archives: Linked List

Linked Lists are linear data structures that contain nodes and pointers. Each node contains data and links to the other nodes. It is an ordered… Read More
Stack and doubly linked lists are two important data structures with their own benefits. Stack is a data structure that follows the LIFO technique and… Read More
A multi-linked list is a special type of list that contains two or more logical key sequences. Before checking details about multi-linked list, see what… Read More
Given a linked list, the task is to sort the linked list using HeapSort. Examples: Input: list = 7 -> 698147078 -> 1123629290 -> 1849873707… Read More
Given a singly linked list, the task is to Count the pairs of nodes with greater Bitwise AND than Bitwise XOR. Examples: Input: list: 1->4->2->6->3Output:… Read More
Given a singly linked list, and an integer K, the task is to make the first node value as minimum as possible in K operations… Read More
Given a singly linked list and two integers X and Y, the task is to left rotate the linked list by X in groups of… Read More
Given two circular linked lists L1 and L2, the task is to find if the two circular linked lists are identical or not.  Note: Head… Read More
Given a linked list containing N nodes of binary numbers, the task is to check whether it is possible to rearrange the linked list in… Read More
Given the linked list and an array arr[] of size N, the task is to reverse every arr[i] nodes of the list at a time… Read More
Given a doubly linked list having all unique elements and two keys X and Y, the task is to swap nodes for two given keys… Read More
Given a head and a tail of a doubly linked list containing 0s and 1s, the task is to sort the Doubly linked list without… Read More
Split given Circular Linked List into three halves without calculating its length such that the difference between a linked list with a maximum number of… Read More
Given a linked list lis of length N, the task is to determine the maximum distance between two consecutive peaks of the given linked list.… Read More
Given a sequence of numbers in the form of a linked list lis. Find the length of the Longest Increasing Subsequence(LIS) of the given Linked… Read More