The idea in plain English: Three pegs. A stack of disks on the left peg, largest at the bottom, smallest at the top. Your goal: move the entire stack to the right peg. You can only move one disk at a time, and you can never place a larger disk on top of a smaller one. That's it — yet the optimal solution requires 2n − 1 moves for n disks.
Why this really exists: The Tower of Hanoi is a classic recursion exercise in computer science. Any algorithm that can solve this is also demonstrating the power of recursion — a function that calls itself with smaller and smaller sub-problems until it reaches a base case. It appears in software engineering interviews, algorithm textbooks, and as a benchmark for planning in AI.
For 3 disks, the optimal solution takes 2³ − 1 = 7 moves:
1. Move n−1 disks from peg A to peg B (using peg C as spare)
2. Move the largest disk (n) from peg A to peg C
3. Move n−1 disks from peg B to peg C (using peg A as spare)
💡 The puzzle answer is the single largest disk moved: the letter (A–G) corresponding to the largest disk's final move destination.