Trivia ForgePlay free →

In the Master Theorem, what is the asymptotic solution for the recurrence T(n) = 4T(n/2) + n?

Show answer

Θ(n²)

This falls under Case 1 of the Master Theorem because f(n) = n is polynomially smaller than n^(log_2 4), which is n^2. Therefore, the complexity is dominated by the recursive work.

Also asked as:
  • Using the Master Theorem, what is the complexity of the recurrence T(n) = 4T(n/2) + 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 →