Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.5K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Arrays
6.5K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Greedy
2.1K+ articles
Algorithms
2.0K+ articles
Sorting
1.8K+ articles
Searching
1.7K+ articles
DSA
/
Data Structures
/
Linked List
Linked List
1.2K+ posts
Recent Articles
Popular Articles
Commonly Asked Data Structure Interview Questions on Linked List
Last Updated: 19 May 2025
Unlike arrays, which are stored in contiguous memory locations, linked lists consist of nodes, where each node contains data and a reference (or link) to the next node in ...
read more
Linked List
DSA
Print Linked List
Last Updated: 11 December 2024
Given a Singly Linked List, the task is to print all the elements in the list.Examples:Input: 1-2-3-4-5-nullOutput: 1 2 3 4 5Explanation: Every element of each node from h...
read more
Linked List
Linked Lists
DSA
Merge two sorted linked lists using Dummy Nodes
Last Updated: 17 August 2024
Given two sorted linked lists consisting of N and M nodes respectively. The task is to merge both of the lists (in place) and return the head of the merged list.Examples:I...
read more
Linked List
DSA
Node Structure and Representation of Singly Linked List
Last Updated: 12 August 2024
A singly linked list is a data structure that consists of nodes, where each node contains two parts: a data field that holds the actual value and a pointer that points to ...
read more
Linked List
DSA
Deletion at end (Removal of last node) in a Doubly Linked List
Last Updated: 09 August 2024
Given a doubly linked list, the task is to delete the last node of the given linked list.Examples:Input: 1 - 2 - 3 - NULLOutput: 1 - 2 - NULLExplanation: The last node of ...
read more
Linked List
doubly linked list
DSA
Deletion at beginning (Removal of first node) in a Doubly Linked List
Last Updated: 09 August 2024
Given a doubly linked list, the task is to delete the node from the beginning of the linked list.Examples: Input : 1 - 2 - 3 - NULLOutput : 2 - 3 - NULLInput : 2 - 4 - 6 -...
read more
Linked List
doubly linked list
DSA
Traversal in Doubly Linked List
Last Updated: 19 February 2025
Traversal of Doubly Linked List is one of the fundamental operations, where we traverse or visit each node of the linked list. In this article, we will cover how to traver...
read more
Linked List
doubly linked list
DSA
Insertion at the end in circular linked list
Last Updated: 08 August 2024
A circular linked list is a data structure where each node points to the next, and the last node connects back to the first, creating a loop. Insertion at the end in circu...
read more
Linked List
Data Structures
circular linked list
DSA
Insertion at the beginning in circular linked list
Last Updated: 08 August 2024
A circular linked list is a special type of data structure where each node points to the next, and the last node connects back to the first, forming a loop. This design al...
read more
Linked List
Data Structures
circular linked list
DSA
Insertion in an empty List in the circular linked list
Last Updated: 08 August 2024
A circular linked list is a type of data structure where each node points to the next one, and the last node connects back to the first, forming a circle. This setup allow...
read more
Linked List
Data Structures
circular linked list
DSA
Insert a Node at the end of Doubly Linked List
Last Updated: 07 August 2024
Given a Doubly Linked List, the task is to insert a new node at the end of the linked list.Examples: Input: Linked List = 1 - 2 - 3, NewNode = 4Output: Linked List = 1 - 2...
read more
Linked List
doubly linked list
DSA
Insert a Node at a specific position in Doubly Linked List
Last Updated: 07 August 2024
Given a Doubly Linked List, the task is to insert a new node at a specific position in the linked list. Examples:Input: Linked List = 1 - 2 - 4, newData = 3, position = 3O...
read more
Linked List
doubly linked list
DSA
Insert a Node before a given node in Doubly Linked List
Last Updated: 07 August 2024
Given a Doubly Linked List, the task is to insert a new node before a given node in the linked list.Examples: Input: Linked List = 1 - 3 - 4, newData = 2, key = 3Output: L...
read more
Linked List
doubly linked list
DSA
Insert a Node after a given node in Doubly Linked List
Last Updated: 07 August 2024
Given a Doubly Linked List, the task is to insert a new node after a given node in the linked list.Examples: Input: Linked List = 1 - 2 - 4, newData = 3, key = 2Output: Li...
read more
Linked List
doubly linked list
DSA
Insert a Node at Front/Beginning of Doubly Linked List
Last Updated: 06 August 2024
Given a Doubly Linked List, the task is to insert a new node at the beginning/start/front of the linked list.Examples:Input: Linked List = 2 - 3 - 4 - NULL , New Node = 1...
read more
Linked List
doubly linked list
DSA
1
2
3
4
...
78
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !