← Quiz: Recurrence Relations: all 10 questions
Quiz: Recurrence Relations · Question 5 of 10
What is T(n) = 8T(n/2) + Θ(n²)?
What is T(n) = 8T(n/2) + Θ(n²)?
- A.Θ(n² log n)
- B.Θ(n²)
- C.Θ(n³)
- D.Θ(n^8)
Answer & explanation
Correct answer: Θ(n³)
log₂8 = 3 > 2, so the leaves dominate: Θ(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 →