## Data Structures in Java | Array | Linked List | Stack

Introduction: Data structures in Java are an essential aspect of Computer Science. There are different types of data structures that help us store the data in different ways in the...

## How To Implement Queue Using Doubly Linked List In C

Before moving to the conversion, firstly we will discuss the queue and doubly linked list in C. What is a Queue? A queue is a linear data structure that follows...

## How To Delete In Doubly Linked List In C

In this article, we will discuss the deletion in a doubly linked list in c. If you would like to ace the data structures and algorithms easily, then you are...

## How To Insert In A Doubly Linked List In C

Define Doubly Linked List Doubly Linked List is a variation of the Linked list in which navigation is possible in both ways, either forward or backward easily as compared to...

## Data Structures in C++ | Array | Linked List | Stack

What are Data structures? Data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it...

## How to create a mergeable stack?

Let’s assume there are 2 stacks. Stack A and Stack B. Now we are going to push elements in both the stacks. After Merge Operation we will push all elements...

## Circular Queue | Set 2 (Circular Linked List Implementation)

Circular Queue It is a linear data structure that works on the principle of FIFO (First in First out). In this type of queue element can be added in any...

## Convert a given Binary Tree To Circular Doubly Linked List

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

## Priority Queue using Doubly Linked List

Problem Statement: Given nodes with their priority, we have to implement a priority queue using a doubly linked list. What is a Priority Queue? Priority queues are abstract data structures...

## Priority Queue Using Linked List

Priority Queue: Priority queue is an abstract data type, It is a type of queue in which each element has a priority assigned to it. The priority of the element...

## Python Queue using Doubly Linked List

What is a Queue? A queue is a linear data structure that works on the principle of FIFO(First in First out) i.e. the element which is inserted first will be...

## A Brief Introduction to Linked Lists

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

## Convert A Singly Linked List to An XOR Linked List

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

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

## Union intersection Two Linked Lists Using Merge Sort

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

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

## Menu Driven Program For All Operations On Doubly Linked List in C

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

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

## Merge Two Unsorted Linked Lists To Get A Sorted List

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

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

## Check If Linked List Is Palindrome

Problem Statement We will be given a linked list, and we need to find whether the given list is palindrome or not. Problem Statement Understanding To understand this problem statement,...

## How to Implement Generic LinkedList in java

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

## C program to Reverse 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...

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

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

## Insert a node at a specific position in 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...