Exams › GATE › Engineering Mathematics
Correct answer: Θ(n)
Here a=2, b=2, so n^(log_b a)=n. Since f(n)=log n = O(n^(1-e)), Master theorem case 1 applies and T(n)=Theta(n). The answer is Theta(n), not Theta(n log n).
⚔️ Practice GATE Engineering Mathematics free + battle 1v1 →