Linked Lists

Linked Lists
Linked List is one of the most crucial topics in data structures. Once understood thoroughly, it becomes intuitive and easy to implement. Mastering this topic is essential for both academic success in semester exams and cracking technical interviews during placements. Below is a comprehensive collection of Linked List programs categorized by type and operations in C, C++, and Java. These examples will help you build a strong foundation in Linked Lists.
Singly Linked List
- Introduction to Linked List in Data Structure
- Linked List in – C | C++ | Java
- Singly Linked List in – C | C++ | Java
- Insertion in singly Linked List – C | C++ | Java
- Deletion in singly Linked List – C | C++ | Java
- Reverse a linked list without changing links between nodes (Data reverse only) – C | C++ | Java
- Reverse a linked list by changing links between nodes – C | C++ | Java
- Print reverse of a linked list without actually reversing – C |C++ | Java
- Search an element in a linked list – C | C++ | Java
- Insertion in a Sorted Linked List – C | C++ | Java
- Delete alternate nodes of a Linked List – C | C++ | Java
- Find middle of the linked list – C | C++ | Java
- Reverse a linked list in groups of given size – C | C++ | Java
- Find kth node from end of the linked list – C | C++ | Java
- Append the last n nodes of a linked list to the beginning of the list – C | C++ | Java
- Check whether linked list is palindrome or not – C | C++ | Java
- Fold a Linked List – C | C++ | Java
Doubly Linked List
Circular Linked List
- Introduction to Circular Linked List
- Circular Linked List in – C | C++ | Java
- Insertion in Circular Linked List – C | C++ | Java
- Deletion in Circular Linked List – C | C++ | Java
- Split a Circular Linked List in two halves – C | C++ | Java
- Count nodes in Circular Linked List – C | C++ | Java
- Sorted Insert In Circular Linked List – C | C++ | Java
Prime Course Trailer
Related Banners
Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription
Singly Linked List
- Introduction to Linked List in Data Structure
- Linked List in –
C
C++
Java - Singly Linked List in –
C
C++
Java - Insertion in singly Linked List –
C
C++
Java - Deletion in singly Linked List –
C
C++
Java - Reverse a linked list without changing links between nodes (Data reverse only) –
C
C++
Java - Reverse a linked list by changing links between nodes –
C
C++
Java - Print reverse of a linked list without actually reversing –
C
C++
Java - Search an element in a linked list –
C
C++
Java - Insertion in a Sorted Linked List –
C
C++
Java - Delete alternate nodes of a Linked List –
C
C++
Java - Find middle of the linked list –
C
C++
Java - Reverse a linked list in groups of given size –
C
C++
Java - Find kth node from end of the linked list –
C
C++
Java - Append the last n nodes of a linked list to the beginning of the list –
C
C++
Java - Check whether linked list is palindrome or not –
C
C++
Java - Fold a Linked List –
C
C++
Java
Doubly Linked List
Circular Linked List
- Introduction to Circular Linked List
- Circular Linked List in –
C
C++
Java - Insertion in Circular Linked List –
C
C++
Java - Deletion in Circular Linked List –
C
C++
Java - Split a Circular Linked List in two halves –
C
C++
Java - Count nodes in Circular Linked List –
C
C++
Java - Sorted Insert In Circular Linked List –
C
C++
Java
Get over 200+ course One Subscription
Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others