AAlgoLoopSpaced repetition for LeetCode

Linked List

Linked-list problems are about pointer manipulation — reversing, merging, splitting, and detecting structure — without random access. The classic tools are a dummy head node, careful next-pointer rewiring, and two pointers.

18 LeetCode problems solved with the Linked List pattern. Practice them with spaced repetition so the pattern sticks.

See the full solution

The complete approach, reference solutions in 5 languages, and a step-by-step visualization — then add this problem to your spaced-repetition schedule.

Start free →