Comment on Why does the for loop repeat in this recursion?

<- View Parent
milon@lemm.ee ⁨9⁩ ⁨months⁩ ago

Yes - I finally caught that part about n as it’s just moving in reverse so it gets decremented. Now I’m not sure about i. In the debugger when the program gets to the for loop both n and i are equal to 1. The n I understand but i?

source
Sort:hotnewtop