Open In App

GATE | Sudo GATE 2020 Mock III (24 January 2019) | Question 52

Which of the following recurrence relation can be solved by using Master’s theorem directly or indirectly ?
(A) T(n) = 2nT (n/2) + nn
(B) T(n) = 16T (n/4) + n!
(C) T(n) = 0.5T (n/2) + 1/n
(D) T(n) = 2T (n/2) + (n/ log n)

Answer: (B)
Explanation: (A) Does not apply (a is not constant)
(B) T(n) = Θ(n!) (Case 3)
(C) Does not apply (a (D) Does not apply (non-polynomial difference between f(n) and n^(logb a))
Quiz of this Question

Article Tags :