Towers of Hanoi

Initial state

Khan Academy

Goal state

Khan Academy

Restrictions

  1. You may only move one disk at a time
  2. No disk may ever rest atop a smaller disk.

Implementation

See the Pen by cuadraman (@cuadraman) on CodePen.

results matching ""

    No results matching ""