Что такое Ханойская башня?

Бесплатная онлайн-головоломка Ханойская башня. Классическая игра для тренировки рекурсивного мышления.

Зачем использовать Ханойская башня?

  • 3-7 disks with interactive drag-free peg clicking
  • Auto Solve demonstrates the optimal recursive solution
  • Переместите counter tracks your progress
  • Визуальный win detection with congratulations

Как использовать Ханойская башня — пошаговое руководство

1

Выберите the number of disks (3-7).

2

Нажмите a peg to pick up the top disk.

3

Нажмите another peg to place it.

4

Переместите all disks to peg C to win!

Для кого Ханойская башня лучше всего подходит?

  • любители головоломок
  • студенты
  • любители математики
  • problem solvers

Ханойская башня — часто задаваемые вопросы

What is the minimum number of moves?

For n disks, the minimum is 2ⁿ - 1 moves. For 4 disks, that's 15 moves. For 7 disks, that's 127 moves.

Why can't I place a larger disk on a smaller one?

That's the rule! The puzzle requires that disks are always in decreasing size from bottom to top on every peg.

Готовы использовать Ханойская башня?

Бесплатный онлайн-инструмент — работает в браузере, без регистрации. Начните прямо сейчас.

Попробовать
Free Forever · No Sign-up

179 Free Tools at Your Fingertips

All free online tools for developers, designers, students, and creators. Every tool works in your browser — no sign-up, no data collection.