Solve the following recurrence relation: T(n) = 4T(n/2) + n²
2019
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 659 students.
Show answer & explanation
Correct answer: B

Explore the full course: Ssc Je Imd Scientific Assistant Computer Science
Loading lesson…