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
-
6929 Solvers
-
1220 Solvers
-
696 Solvers
-
How many trades represent all the profit?
577 Solvers
-
Calculate the probability that at least two people in a group share the same birthday.
76 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!