The Reorder List interview question gives you a singly linked list L0 → L1 → ... → Ln-1 → Ln and asks you to reorder it in-place to the pattern L0 → Ln → L1 → Ln-1 → L2 → Ln-2 → .... You must not modify node values — only node pointers. This problem is a synthesis of three fundamental linked list techniques applied in sequence.
This MEDIUM problem is asked at Apple, Uber, Goldman Sachs, Microsoft, Meta, Amazon, Google, Bloomberg, and Adobe because it tests three linked list building blocks in combination: finding the midpoint (slow/fast pointers), reversing a linked list, and merging two linked lists in an interleaved fashion. Each is a standalone interview question — combining all three demonstrates mastery of linked list manipulation.
The pattern is three-phase linked list surgery:
This achieves O(n) time and O(1) extra space.
List: 1 → 2 → 3 → 4 → 5
Step 1 — Find middle: slow/fast pointers → middle is node 3. Split into 1 → 2 → 3 and 4 → 5.
Step 2 — Reverse second half: 4 → 5 becomes 5 → 4.
Step 3 — Merge: interleave 1 → 2 → 3 and 5 → 4:
1 → 51 → 5 → 2 → 41 → 5 → 2 → 4 → 3Result: 1 → 5 → 2 → 4 → 3.
Reorder List is the culmination of three foundational linked list patterns. If you can implement each of the three steps independently (find middle, reverse list, merge two lists), combining them is straightforward. Practice each building block in isolation first. In an interview, verbally walk through the three steps before coding — this signals a structured, top-down approach that interviewers at Apple and Adobe explicitly look for.
| Title | Difficulty | Topics | LeetCode |
|---|---|---|---|
| Palindrome Linked List | Easy | Solve | |
| Maximum Twin Sum of a Linked List | Medium | Solve | |
| Remove Nodes From Linked List | Medium | Solve | |
| Remove Duplicates from Sorted List II | Medium | Solve | |
| Rotate List | Medium | Solve |