Explain the Master Theorem.

Updated Apr 28, 2026

Short answer

A template for solving recurrence relations of the form T(n) = aT(n/b) + f(n).

Deep explanation

Medium-level D&C explores specific mathematical optimizations and trade-offs. A template for solving recurrence relations of the form T(n) = aT(n/b) + f(n).

Real-world example

Efficiently multiplying very large numbers in cryptographic systems.

Common mistakes

  • Applying Master Theorem to recurrences that don't fit the standard format.

Follow-up questions

  • What happens if a < 1?

More Divide & Conquer interview questions

View all →