Skip to content

Interview Questions

Practice these in order. Start with Easy to build confidence, then move to Medium and Hard.


  1. Reverse a Linked List — LeetCode 206
  2. Find the Middle of Linked List — LeetCode 876
  3. Detect a Cycle — LeetCode 141
  4. Merge Two Sorted Lists — LeetCode 21
  5. Remove Duplicates from Sorted List — LeetCode 83
  6. Palindrome Linked List — LeetCode 234
  7. Intersection of Two Linked Lists — LeetCode 160
  8. Delete Node in a Linked List — LeetCode 237

  1. Add Two Numbers (digits stored in reverse) — LeetCode 2
  2. Remove Nth Node from End — LeetCode 19
  3. Find the Start of Cycle (Floyd’s Phase 2) — LeetCode 142
  4. Reorder List — LeetCode 143
  5. Odd Even Linked List — LeetCode 328
  6. Swap Nodes in Pairs — LeetCode 24
  7. Rotate List — LeetCode 61
  8. Copy List with Random Pointer — LeetCode 138
  9. Sort List (merge sort on linked list) — LeetCode 148

  1. Reverse Nodes in k-Group — LeetCode 25
  2. Merge k Sorted Lists — LeetCode 23
  3. LRU Cache (Doubly Linked List + HashMap) — LeetCode 146
  4. LFU Cache — LeetCode 460

StepWhat to do
1Solve Easy problems until you can code them without looking
2Learn the patterns — they’re the building blocks for Medium problems
3For each Medium problem, identify which patterns it uses
4Draw the linked list on paper before coding
5Test with empty, 1-node, and 2-node cases
6Attempt Hard problems only after comfortably solving Medium ones