Skip to content

Latest commit

 

History

History

towers_of_hanoi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Provide the solution to Towers of Hanoi

Given a number of disks return the sequence of moves to solve a Tower of Hanoi.

Challenge

Algorithm input is an integer number of disks. Output is a list of moves for solving.

Solution

Whiteboard Images