## Merge K Sorted Doubly Linked List in Sorted Order

Problem Statement In this problem, we will be given K sorted doubly linked lists. We need to merge all lists such that the newly created doubly linked list is also...

## Josephus Circle Using Circular Linked List

Introduction Linked list is one of the most important concepts and data structures to learn while preparing for coding interviews. Having a good grasp of Linked Lists can be a...

## Count pairs from two linked lists whose sum is equal to a given value

Problem Statement We will be given two linked lists and an integer target as input, and we need to count pairs of integers in both lists such that each element...

## Find a triplet from three linked lists with a sum equal to a given number

Problem Statement We will be given three different linked lists and an integer as input. Now, we need to find whether there is a triplet (one from each list) that...

## Make loop at K-Th position in the Linked List

Problem Statement We will be given a linked list and an integer K. We need to attach the last node of the list to the K^{th} node from starting of...

## Rearrange a linked list such that all even and odd positioned nodes are together

Problem Statement In this problem, we will be given a linked list, and we need to rearrange the nodes such that the nodes present at odd positions and the nodes...

## Given a linked list of line segments, remove middle points

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Find Pairs With Given Sum In A Doubly Linked List

Problem Statement In this problem, we will be given a sorted doubly linked list and a target integer. We need to find and print the pairs whose sum is equal...

## Point arbit pointer to greatest value right-side node in a linked list

Introduciton The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Deletion At Different Positions in A Circular Linked List

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Decimal Equivalent of Binary Linked List

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

Problem Statement We need to implement basic functionalities of a queue using a linked list. A queue is a linear data structure that allows elements to be added and deleted...

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Merge two sorted linked lists (in-place)

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Merge K sorted linked lists | Set 1

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Merge k sorted linked lists | Set 2 (Using Min Heap)

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Merge two sorted linked lists

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp of a linked list can be a huge plus...

## Reverse A Sublist Of Linked List

Introduction The linked list is one of the most important concepts to know while preparing for interviews. Having a good grasp on linked list can be a huge plus point...

## Search an element in a Doubly Linked List

Introduction Learn the most efficient way to search an element in a doubly linked list. The linked list is one of the most important concepts and data structures to learn...

## Clone a linked list with next and random pointer in O(1) space

Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...

## How To Write C Functions That Modify The Head Pointer Of A Linked List

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Implementation of Deque Using Doubly Linked List

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of a linked list can be...

## Convert A String To A Singly Linked List

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Partitioning a linked list around a given value and If we don’t care about making the elements of the list “stable”

Problem Statement In this problem, we will be given a linked list and an integer X. We need to partition the linked list around this integer X such that all...

## Modify contents of Linked List

Problem Statement In this problem, we would be given a linked list, and we need to modify the values of the first half nodes such that the value of the...

## Construct a linked list from a 2D matrix (Iterative approach)

Problem Statement In this problem, we would be given a 2D matrix, and we need to construct a linked list from it. Problem Statement Understanding Let's see what the problem...