TweakCode
Recursion lessons
Loading editor…
Test casesRun to compare output
Input
n = 10
Output
—
Expected
12

More practice

Same technique, different problems. Try them without the walkthrough.