## Program to find size of Doubly Linked List

Given a doubly linked list, the task is to find the size of that doubly linked list. For example, size of below linked list is… Read More »

- Design a data structure for LRU Cache
- Amazon SDE-2 Interview Experience
- Find first node of loop in a linked list
- How does Floyd's slow and fast pointers approach work?
- Flatten a binary tree into linked list
- Insert a node at a specific position in a linked list
- Recursively Reversing a linked list (A simple implementation)
- Sandvine Interview Experience for FTE 2018
- Microsoft Interview experience | Set 178 (On-Campus Internship for IDC)
- Delete all the even nodes of a Circular Linked List
- Replace even nodes of a doubly linked list with the elements of array
- Applications of linked list data structure
- Clone a stack without extra space
- KLA Tencor Interview Experience | Set 3
- Delete a Node from linked list without head pointer
- Implement a stack using singly linked list
- Delete all the even nodes from a Doubly Linked List
- Flatten a binary tree into linked list | Set-2
- Delete every Kth node from circular linked list
- Multiplication of two polynomials using Linked list
- Sum of the nodes of a Singly Linked List
- Rotate the sub-list of a linked list from position M to N to the right by K places
- Sum of the nodes of a Circular Linked List
- Find the product of last N nodes of the given Linked List
- Remove first node of the linked list
- Find a peak element in Linked List
- Delete all Prime Nodes from a Circular Singly Linked List
- Reverse a doubly circular linked list
- Delete all Prime Nodes from a Singly Linked List
- Remove last node of the linked list

Given a doubly linked list, the task is to find the size of that doubly linked list. For example, size of below linked list is… Read More »

Write a removeDuplicates() function which takes a list sorted in non-decreasing order and deletes any duplicate nodes from the list. The list should only be… Read More »

Given a linked list, the problem is to delete all the nodes from the list that are greater than the specified value x. Examples: Input… Read More »

Given a Linked List, task is to check whether the Linked List is sorted in Descending order or not? Examples : Input : 8 ->… Read More »

Given a linked list. We need to find unique elements in the linked list i.e, those elements which are not repeated in the linked list… Read More »

A Doubly linked list is a linked list that consists of a set of sequentially linked records called nodes. Each node contains two fields that… Read More »

Given a linked list with some two adjacent repeating nodes before a zero, task is to double the first and make next 0. After this,… Read More »

Design a data structure which can do following operations add() in O(n) getMinimum() in O(1) deleteMinimum() in O(1) Source : MakeMyTrip Interview. Recommended: Please try… Read More »

Given two very large numbers in form of strings. Your task is to apply different arithmetic operations on these strings. Prerequisite : Doubly Linked List.… Read More »

Given two singly linked lists, find the Longest common suffix of two linked lists. If there are no common characters which are suffixes, return the… Read More »

A linked list is a linear collection of data elements, in which each node points to the next node. Unlike an array, it doesn’t have… Read More »

Given a singly linked list and a key, find key using binary search approach. To perform Binary search based on Divide and Conquer Algorithm, determination… Read More »

Given n people standing in a circle where 1st is having sword, find the luckiest person in the circle, if from 1st soldier who is… Read More »

Given a doubly linked list, rotate the linked list counter-clockwise by N nodes. Here N is a given positive integer and is smaller than the… Read More »

Given an array of size N and a Linked List where elements will be from the array but can also be duplicated, sort the linked… Read More »