4 ms·
This is why I believe the concept of the stack frame should also be introduced when teaching recursion. Otherwise, you get questions from students like, "how ca
by supriyo-biswas 3y ago
This is why I believe the concept of the stack frame should also be introduced when teaching recursion. Otherwise, you get questions from students like, "how can you call the same function from within" and "wouldn't the value of n be overwritten when I call it again?"