Total moves

Report a typo

The number of moves required to solve the Hanoi Towers puzzle for n=1n = 1 and n=2n = 2 disks is equal to 11 and 33, respectively. Implement the recursive solution for the Hanoi Towers and count the number of moves for n=5n=5 disks.

Enter a number
___

Create a free account to access the full topic