#20 algorithm analysis and recursion Flashcards
(6 cards)
1
Q
upper bound
A
big - O
2
Q
lower bound
A
big - Omega
3
Q
exact bound (both lower and upper)
A
big - theta
4
Q
recursion
A
strategy for solving problems, method calls itself
5
Q
properties of recursion
A
relies on runtime call stack
any problem solvable with recursion can be solved with iteration and vice versa
6
Q
base case
A
the last step of the recursive call, makes it stop calling itself