Picture a map of cities joined by roads. You want a round trip that passes through every city exactly once and ends back where it started. That route is called a Hamiltonian cycle, named after the 19th‑century mathematician William Rowan Hamilton.
It sounds almost identical to a puzzle that schoolchildren solve in seconds: can you trace a figure without lifting your pencil, walking along every road exactly once? That second one is the Eulerian circuit, and Leonhard Euler settled it in 1736 with a rule so simple you can check it at a glance.
Swap a single word — every road becomes every city — and the difficulty explodes. One of these puzzles is among the easiest in graph theory. The other is among the hardest problems we know.
Comments
Loading comments...