🗼 Tower of Hanoi
Move the tower
About Tower of Hanoi
The Tower of Hanoi is a mathematical puzzle. It consists of three rods and a number of disks of different sizes, which can slide onto any rod. The puzzle starts with the disks in a neat stack in ascending order of size on one rod, the smallest at the top.
The objective is to move the entire stack to another rod, obeying the following simple rules: only one disk can be moved at a time, and no disk may be placed on top of a smaller disk.
How to Play Tower of Hanoi?
- Move one disk at a time from one rod to another.
- Never place a larger disk on a smaller disk.
- Move the entire stack to the target rod.
- Try to solve it in the minimum number of moves (2^n - 1).