Resulting call stack

g("ay", 3)  returns "ay"
g("oday", 2)     "oday" + "ay"  returns "odayay"
g("today", 1)    "today" + ____

Forward to Step 6
Back to Step 4
Back to main solution