UGC NET CS 2022Data Structures and Algorithms › Performance Analysis of Algorithms and RecurrencesVerified
UGC NET CS 2022 PYQ: The solution of the recurrence relation $T(n)=3 T(n / 4)+n \lg n$ is
The solution of the recurrence relation $T(n)=3 T(n / 4)+n \lg n$ is
- A$\theta\left(n^{2} \lg n\right)$
- B$\theta(n \lg n)$Correct answer
- C$\theta(n \lg n)^{2}$
- D$\theta(n \lg \lg n)$
Answer
(B) $\theta(n \lg n)$
Approach
Apply Master theorem case 3 with the regularity check.
Reviewed by UGC IQ Editorial Team.