top of page

Linked List
Welcome to the Linked List articles page. Find all the programs used to solve various problems using linked lists. These articles will help you understand an essential data structure that is used in many problems.


Check if the given Linked List is Palindrome
In this article, we will solve the problem of determining if a given linked list is a palindrome. Given the head of a singly linked list,...


Add Two Numbers Represented as Linked List
In this article, we will solve the problem of adding two numbers represented as linked lists. So we are given the heads of two singly...


Search an Element in Linked List
In this article, we will solve the problem of searching for an element in a linked list. Problem Statement: We are given the head of a...


Rotate a Linked List
In this article, we will solve the problem of rotating a linked list to the right by a given K places. Example: 1 -> 2 -> 3 -> 4 -> 5 ->...


Detect a Cycle in a Linked List
In this article, we will solve the problem of detecting a cycle in a linked list. This is a common problem that can occur in real-world...


Find the Middle of a Linked List
In this article, we will tackle a common problem asked in the linked list which is finding the middle node of a singly linked list. This...


Delete a Given Node in a Linked List
In this article, we will solve a unique problem in the linked list which is to delete a given node in a singly linked list. In this...


Remove Nth Node from the end of Linked List
In this article, we aim to remove the N-th node from the end of a singly linked list. This is a common problem in linked list...


Reverse a Linked List
In this article, we will solve a commonly asked problem on linked lists which is reversing a linked list. Given a singly linked list, our...


Introduction to Linked Lists
A linked list is an important topic in computer science as it provides an efficient way to manage and organize data. In this article, we...
bottom of page