- Back in
goAgain("oday", 2)
- Finished the recursive call, got back
"ay"
- Computes
"oday" + "ay"
, which is"odayay"
- Stops and returns
"odayay"
Resulting call stack
g("ay", 3) returns "ay"
g("oday", 2) "oday" + "ay" returns "odayay"
g("today", 1) "today" + ____