M3.2 & M3.3: Solving Recurrences Flashcards

1
Q

What are Recurrences?

A

A recurrence relation expresses the time complexity of a problem in terms of its subproblems.

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

Substitution Method for solving Recurrences

A

Make a guess for the solution and prove it by induction.

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

Recurrence Tree Method for solving Recurrences

A

Expand the recurrence to find a pattern and sum it up.

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

Master Theorem

A

T(n)=aT(n/b ​)+f(n)

  • a≥1.
  • b>1.
  • f(n) is asymptotically positive.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly