Skip to content

Linked List Problems

Linked list problems test pointer manipulation skills. Practice reversal, cycle detection (Floyd's algorithm), merging sorted lists, and the fast-slow pointer technique.

31 problems

Title Difficulty
Add Two Numbers Medium
Add Two Numbers II Medium
Convert Binary Number in a Linked List to Integer Easy
Copy List with Random Pointer Medium
Flatten a Multilevel Doubly Linked List Medium
Flatten Sorted Bottom Lists Hard
Delete a Node Without the Head Easy
Intersection of Two Linked Lists Easy
Linked List Cycle Easy
LRU Cache Hard
Merge k Sorted Lists Hard
Merge Sort for Linked Lists Hard
Merge Two Sorted Lists Easy
Middle of the Linked List Easy
Multiply Numbers Stored in Linked Lists Easy
Palindrome Linked List Easy
Partition List Medium
Reorder a Linked List Medium
Zigzag Linked List Medium
Remove Duplicates from Sorted List Easy
Remove Duplicates from Sorted List II Medium
Remove Linked List Elements Easy
Remove Nth Node From End of List Medium
Reorder List Medium
Reverse Linked List Easy
Reverse Linked List II Medium
Reverse Nodes in k-Group Hard
Even-Valued Nodes Before Odd-Valued Nodes Medium
Sort a Linked List of 0s, 1s, and 2s Easy
Sort List Medium
Subtract Two Numbers Represented as Linked Lists Hard