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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1339 Solvers
-
Matrix with different incremental runs
117 Solvers
-
358 Solvers
-
749 Solvers
-
358 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!