Linked List Data Structure
Learn more about Linked List in DSA Self Paced Course
Practice Problems on Linked List
Top Quizzes on Linked List
What is Linked List
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using pointers as shown in the below image:
In simple words, a linked list consists of nodes where each node contains a data field and a reference(link) to the next node in the list.
Topics :
- What is Linked List
- Introduction to Linked List – Data Structure and Algorithm Tutorials
- Applications, Advantages and Disadvantages of Linked List
- Linked List vs Array
- Introduction to Doubly Linked List – Data Structure and Algorithm Tutorials
- Introduction to Circular Linked List
- Circular Singly Linked List
- Circular Doubly Linked List meaning
- Types of Linked List
- Linked List Insertion
- Search an element in a Linked List (Iterative and Recursive)
- Find Length of a Linked List (Iterative and Recursive)
- Reverse a linked list
- Linked List Deletion (Deleting a given key)
- Linked List Deletion (Deleting a key at given position)
- Write a function to delete a Linked List
- Write a function to get Nth node in a Linked List
- Nth node from the end of a Linked List
Standard problem on Linked List:
- Easy:
- Print the middle of a given linked list
- Write a function that counts the number of times a given int occurs in a Linked List
- Check if a linked list is Circular Linked List
- Count nodes in Circular linked list
- Convert singly linked list into circular linked list
- Exchange first and last nodes in Circular Linked List
- Reverse a Doubly Linked List
- Program to find size of Doubly Linked List
- An interesting method to print reverse of a linked list
- Can we reverse a linked list in less than O(n)?
- Circular Linked List Traversal
- Delete a node in a Doubly Linked List
- Medium:
- Detect loop in a linked list
- Find length of loop in linked list
- Remove duplicates from a sorted linked list
- Intersection of two Sorted Linked Lists
- QuickSort on Singly Linked List
- Split a Circular Linked List into two halves
- Deletion from a Circular Linked List
- Merge Sort for Doubly Linked List
- Find pairs with given sum in doubly linked list
- Insert value in sorted way in a sorted doubly linked list
- Remove duplicates from an unsorted doubly linked list
- Rotate Doubly linked list by N nodes
- Given only a pointer to a node to be deleted in a singly linked list, how do you delete it?
- Modify contents of Linked List
- Hard:
- Intersection point of two Linked Lists.
- Circular Queue | Set 2 (Circular Linked List Implementation)
- Josephus Circle using circular linked list
- The Great Tree-List Recursion Problem.
- Copy a linked list with next and arbit pointer
- Convert a given Binary Tree to Doubly Linked List | Set
- Priority Queue using doubly linked list
- Reverse a doubly linked list in groups of given size
- Reverse a stack without using extra space in O(n)
- Linked List representation of Disjoint Set Data Structures
- Sublist Search (Search a linked list in another list)
- Construct a linked list from 2D matrix
- Partitioning a linked list around a given value and If we don’t care about making the elements of the list “stable”
Recomended:
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.