Problem 186. The Tower of Hanoi
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Jan-Andrea Bard
on 4 Nov 2021
Ha, ha, so funny, after writing a function with a neat recursive moveNDisks function, realize that the number of moves is 2^n-1.
Problem Recent Solvers285
Suggested Problems
-
6521 Solvers
-
Find state names that start with the letter N
1024 Solvers
-
Test if a Number is a Palindrome without using any String Operations
203 Solvers
-
634 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
751 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!