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 Solvers287
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5107 Solvers
-
Switch matrix to a column vector
323 Solvers
-
556 Solvers
-
495 Solvers
-
6932 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!