RECURSION Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is meant by recursion

A

A process using a function that calls itself
The process has a base case and a general case

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

What is base case

A

A way to return without making a recursive call

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

What is a general case

A

Where the recursive call takes place

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