Problem 45782. Upstairs!
20.0% Correct | 80.0% Incorrect
Last Solution submitted on Nov 22, 2022
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
Increment a number, given its digits
Smallest distance between a point and a rectangle
Sum of diagonal of a square matrix
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!