Bits & Bytes
  • About
  • Art
  • Blog
  • Cooking
Subscribe
Tagged

hanoi

A collection of 1 post

Towers of Hanoi
python

Towers of Hanoi

An age-old puzzle that's challenged kids and pancake chefs for ages: The goal of the puzzle is to move an entire stack of disks from one rod/plate to another with the following restrictions: Only one disk can be moved at a time. Each move consists of taking the upper

  • Ben Yu
Ben Yu Jun 15, 2014 • 3 min read
Bits & Bytes © 2025
Powered by Ghost