Recursion Flashcards

1
Q

What is recursion?

A

Recursion is where a procedure or function calls itself. It is another way of producing iteration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When does a stack overflow error is produced

A

when a terminating condition is not built in or not met before you run out of memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly