Trivia ForgePlay free →

Which theorem provides a standardized way to solve recurrence relations of the form T(n) = aT(n/b) + f(n)?

Show answer

Master Theorem

The Master Theorem compares the growth of f(n) with the function n^(log_b a). Depending on which part dominates, it provides a solution for the overall asymptotic complexity of the recurrence.

Also asked as:
  • What theorem is used to determine the asymptotic complexity of recurrences that follow the form T(n) = aT(n/b) + f(n)?

Would you remember this in 6 months?

Trivia Forge uses spaced repetition so facts stick. Free, no signup needed.

Turn on Algorithms practice →

More Algorithms trivia

See all 83 →