Problem 45782. Upstairs!
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Christian Schröder
on 22 Nov 2022
I'm REALLY surprised that this worked --- given that there's two recursive calls you'd expect it to fail when n is even moderately large.
Problem Recent Solvers5
Suggested Problems
-
1288 Solvers
-
Increment a number, given its digits
614 Solvers
-
Smallest distance between a point and a rectangle
165 Solvers
-
Sum of diagonal of a square matrix
1491 Solvers
-
608 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!