Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 296 Bytes

README.md

File metadata and controls

4 lines (4 loc) · 296 Bytes

Tower-of-Hanoi-moves

a discrete math problem on the book "rosen discrete mathematics and its applications 7th edition"

question

Given a positive integer n, list all the moves required in the Tower of Hanoi puzzle to move n disks from one peg to another according to the rules of the puzzle.