Skip to content

An iterative solution to the Tower of Hanoi problem. The program prints out a list of moves to solve a Tower of Hanoi with an inputted number of rings. The solution is written to a text file.

Notifications You must be signed in to change notification settings

nguyenle0912/Tower-Of-Hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tower-Of-Hanoi

An iterative solution to the Tower of Hanoi problem. The program prints out a list of moves to solve a Tower of Hanoi with an inputted number of rings. The solution is written to a text file.

To change the number of disks, simply change the input in the main.cpp file.

About

An iterative solution to the Tower of Hanoi problem. The program prints out a list of moves to solve a Tower of Hanoi with an inputted number of rings. The solution is written to a text file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages