#20 algorithm analysis and recursion Flashcards

1
Q

upper bound

A

big - O

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

lower bound

A

big - Omega

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

exact bound (both lower and upper)

A

big - theta

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

recursion

A

strategy for solving problems, method calls itself

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

properties of recursion

A

relies on runtime call stack

any problem solvable with recursion can be solved with iteration and vice versa

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

base case

A

the last step of the recursive call, makes it stop calling itself

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