-
2 Comments
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.
Cecilia
on 13 Jul 2023
Also nearly played myself writing a recursive solution haha
Suggested Problems
-
6880 Solvers
-
6615 Solvers
-
300 Solvers
-
Back to basics 25 - Valid variable names
328 Solvers
-
Sum of first n positive integers
594 Solvers
More from this Author3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!