Что такое Ханойская башня?
Бесплатная онлайн-головоломка Ханойская башня. Классическая игра для тренировки рекурсивного мышления.
Бесплатная онлайн-головоломка Ханойская башня. Классическая игра для тренировки рекурсивного мышления.
Выберите the number of disks (3-7).
Нажмите a peg to pick up the top disk.
Нажмите another peg to place it.
Переместите all disks to peg C to win!
For n disks, the minimum is 2ⁿ - 1 moves. For 4 disks, that's 15 moves. For 7 disks, that's 127 moves.
That's the rule! The puzzle requires that disks are always in decreasing size from bottom to top on every peg.
Бесплатный онлайн-инструмент — работает в браузере, без регистрации. Начните прямо сейчас.
ПопробоватьAll free online tools for developers, designers, students, and creators.
Every tool works in your browser — no sign-up, no data collection.