🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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²)?

  1. A.Θ(n² log n)
  2. B.Θ(n²)
  3. C.Θ(n³)
  4. 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 →