Interview Questions
Must-Do Interview Questions
Section titled “Must-Do Interview Questions”Practice these in order. Start with Easy to build confidence, then move to Medium and Hard.
🟢 Easy (Start Here!)
Section titled “🟢 Easy (Start Here!)”- Reverse a Linked List — LeetCode 206
- Find the Middle of Linked List — LeetCode 876
- Detect a Cycle — LeetCode 141
- Merge Two Sorted Lists — LeetCode 21
- Remove Duplicates from Sorted List — LeetCode 83
- Palindrome Linked List — LeetCode 234
- Intersection of Two Linked Lists — LeetCode 160
- Delete Node in a Linked List — LeetCode 237
🟡 Medium
Section titled “🟡 Medium”- Add Two Numbers (digits stored in reverse) — LeetCode 2
- Remove Nth Node from End — LeetCode 19
- Find the Start of Cycle (Floyd’s Phase 2) — LeetCode 142
- Reorder List — LeetCode 143
- Odd Even Linked List — LeetCode 328
- Swap Nodes in Pairs — LeetCode 24
- Rotate List — LeetCode 61
- Copy List with Random Pointer — LeetCode 138
- Sort List (merge sort on linked list) — LeetCode 148
🔴 Hard
Section titled “🔴 Hard”- Reverse Nodes in k-Group — LeetCode 25
- Merge k Sorted Lists — LeetCode 23
- LRU Cache (Doubly Linked List + HashMap) — LeetCode 146
- LFU Cache — LeetCode 460
💡 Study Strategy
Section titled “💡 Study Strategy”| Step | What to do |
|---|---|
| 1 | Solve Easy problems until you can code them without looking |
| 2 | Learn the patterns — they’re the building blocks for Medium problems |
| 3 | For each Medium problem, identify which patterns it uses |
| 4 | Draw the linked list on paper before coding |
| 5 | Test with empty, 1-node, and 2-node cases |
| 6 | Attempt Hard problems only after comfortably solving Medium ones |
Related
Section titled “Related”- Tips & Common Mistakes — Avoid common pitfalls
- Interview Prep Home — General interview preparation