Recursion Flashcards

1
Q

Recursion:

A

A function that calls itself from within

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

How does recursion help?

A

Helps to visualise a complex problem into basic steps, which can be solved easier iteratively or recursively

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