## 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...

Skip to content
## Merge K Sorted Doubly Linked List in Sorted Order

## Josephus Circle Using Circular Linked List

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

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

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

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

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

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

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

## Types of Linked list

## Deletion At Different Positions in A Circular Linked List

## Decimal Equivalent of Binary Linked List

## Queue Linked List Implementation

## Multiply Linked Lists

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

## 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)

## 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

## Search an element in a Doubly Linked List

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

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

## Implementation of Deque Using Doubly Linked List

## Convert A String To A Singly Linked List

## Partitioning a linked list around a given value and If we donâ€™t care about making the elements of the list â€śstableâ€ť

## Modify contents of Linked List

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

## Adding Two Polynomials Using Linked List

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 problem linked list is also known as josephus problem using circular linked list. This problem is continuously asked in the recent interviews. Let us understand the josephus problem linked...

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...

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...

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...

A linked list is a linear data structure. In the linked list elements are not stored continuously but randomly. It is a vital topic from the placement point of view,...

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...

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...

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...

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...

In this article, we will discuss the decimal equivalent of a binary linked list. For converting a number from binary to a decimal using the positional notation method, we multiply...

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...

In this article, we will learn how to merge two sorted linked lists. Sorting is defined as the technique of arranging the elements either in ascending or descending order. letâ€™s...

Several approaches exist in the programming world to solve this problem, some efficient and some not so efficient. Let us build the intuition to solve this problem brick by brick,...

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...

In the following article, we are going to look into an approach for searching in doubly linked list. We already know that doubly linked list requires more space as itâ€™s...

In this article, we will learn to clone a linked list with next and random pointer.Cloning is defined copying the linked list without changing its structure and data. so letâ€™s...

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...

In this article, we will learn the implementation of deque using a doubly linked list Deque is a diagrammed version of the Queue data structure that allows insertions and deletions...

A linked list is one of the most important topics for the interviews. Basically a linked is the link of nodes connected to every next node through a pointer and...

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...

This article describes the detailed explanation and implementation of modify contents of linked list in which we will update value of linked list. Having a good grasp of Linked Lists...

The linked list is one of the most important topics of data structures. In this blog, we have a problem in which we have to construct a 2D linked list....

The linked list data structure is versatile in nature. A linked list can be used in a variety of situations. In this article, we will look at a problem with...