← Quiz: Recurrence Relations: all 10 questions
Quiz: Recurrence Relations · Question 10 of 10
By the Master Theorem, what is T(n) = 4T(n/2) + Θ(n)?
By the Master Theorem, what is T(n) = 4T(n/2) + Θ(n)?
- A.Θ(n log n)
- B.Θ(n)
- C.Θ(n²)
- D.Θ(n² log n)
Answer & explanation
Correct answer: Θ(n²)
log₂ 4 = 2 > d = 1, so the leaves dominate: Θ(n^(log₂ 4)) = Θ(n²).
Can you get the rest right without peeking?
Take the timed Quiz: Recurrence Relations quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →