## How to insert elements in C++ STL List ?

List has been discussed in many articles, but the sole purpose of this article is to cover all types of insertions that are possible to… Read More »

Quick Links for Linked List

Quizzes |

Videos on Linked List |

List has been discussed in many articles, but the sole purpose of this article is to cover all types of insertions that are possible to… Read More »

Given a linked list and a key in it, the task is to move all occurrences of given key to end of linked list, keeping… Read More »

STL is one of the pillars of C++. It makes life lot easier, especially when your focus is on problem solving and you don’t want… Read More »

Given a doubly linked list of characters, write a function that returns true if the given doubly linked list is palindrome, else false. Recommended: Please… Read More »

We have discussed Singly and Circular Linked List in the following post: Singly Linked List Circular Linked List Why Circular? In a singly linked list,… Read More »

Given two polynomial numbers represented by a linked list. Write a function that add these lists means add the coefficients who have same variable powers.… Read More »

Given a linked list, find length of the longest palindrome list that exist in that linked list. Examples: Input : List = 2->3->7->3->2->12->24 Output :… Read More »

Given a linked list having two pointers in each node. The first one points to the next node of the list, however the other pointer… Read More »

Given a linked list with a loop, the task is to find whether it is palindrome or not. You are not allowed to remove the… Read More »

Given two linked lists, the task is to check whether the first list is present in 2nd list or not. Input : list1 = 10->20… Read More »

Given a linked list and a value x, partition it such that all nodes less than x come first, then all nodes with value equal… Read More »

Given pointer to the head node of a linked list, the task is to reverse the linked list. Examples: Input : Head of following linked… Read More »

Given a sorted singly linked list and a value x, the task is to find pair whose sum is equal to x. We are not… Read More »

Given a sorted doubly linked list of positive distinct elements, the task is to find pairs in doubly linked list whose sum is equal to… Read More »

Like array and linked list, unrolled Linked List is also a linear data structure and is a variant of linked list. Unlike simple linked list,… Read More »