Solve the following recurrence relation: T(n) = 4T(n/2) + n²
2020
Solve the following recurrence relation:
T(n) = 4T(n/2) + n²
Answer: B. θ(n² log n)
- A.
θ(n³)
- B.
θ(n² log n)
- C.
θ(n²/2)
- D.
θ(n²)
Attempted by 471 students.
Show answer & explanation
Correct answer: B

Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…