Linked List Interview Questions

Linked List Interview Questions

Linked List interview questions are the favourite topic of Microsoft, Amazon, Google, VMWare, etc. Here are the collections of questions on Linked List which will help you to challange the interviewrs. A linked list is a linear collection of data elements in which each element points to the next. Below are the questions on linked-list data structure. Linked-List algorithm questions are first choice of interviewers. Below are important linked list questions for technical interviews.

Create Linked list

Create Doubly Linked List

Find Nth Node

Alternate Sub List Split

Cycle Detection

Delete Alternate Nodes

Delete Linked List

Delete Node in Doubly Linked List

Delete Node using Pointer

Identical Linked Lists

Insert Node in Ascending Order

Merge Sorted Linked Lists

Find Middle

Move Element at First

Nth Element from End

Number Occurrence in List

Pairwise Swap

Palindrome Linked List

Remove Duplicates

Remove Duplicates (Un-Sorted)

Doubly Linkedlist Reverse

Reverse Linked List

Reverse Linked List (Recursive)

Split Circular List

Linked List Intersection

Reverse a Linked List in groups

Delete nodes with higher value on right side

Delete a node under given conditions

Triplet from three linked lists with given sum

Sort a linked list with 0s, 1s and 2s

Delete N nodes after M 

Merge a linked list into another at alternate positions

Can we reverse a linked list in less than O(n) time ?

Remove middle points in a linked list of line segments

Sort a linked list that is sorted alternating ascending and descending

Merge sort better than quick sort for linked lists

Compare two strings(linked lists)

Delete a node of a linked list at given position

Segregate even and odd nodes in a linked list

Flattening a linked list

Clone a linked list with next and random pointer (Hashing)

Point to next higher value node

Rearrange a linked list in Zig-Zag

Point to greatest value in the right

Binary Tree to Doubly linked list

Sort linked which is sorted on absolute values

Merge Sort for Linked Lists

Reverse alternate k nodes in a Singly Linked List

Add two numbers represented by linked lists

Union and Intersection of Two Linked Lists

Rotate a Linked List

Flatten a multilevel linked list

Quick Sort on SIngly Linked List

Pairwise swap elements of a given linked list by chnaging links

Sum Linked List out of two Sorted Linked Lists 

Clone a Linked List with next and random pointer

Insertion Sort for Singly Linked List

Rearrange a given linked list in-place

Select a random node from a singly linked list

Merge two sorted linked lists such that merged list is in reverse order

Rearrange a linked list even and odd position nodes

Add 1 to a number represented as a linked list

Check if a linked list of strings form a palindrome

Merge Sort for Doubly Linked List

Delete last occurrence

Delete a node with given key

Length of a linked list

Search an element

Swap nodes in the linked list

Swap kth node from beginning with kth node from end

Find Nth node

Detect Loop in List

Insert Node in Sorted List


Next >
Scroll to Top