Show the worked solutionThe master theorem does not apply: \(n/\lg n\) is smaller than \(n\) but not by a polynomial factor. Use the recursion tree.
At depth \(i\) there are \(2^i\) subproblems of size \(n/2^i\), costing\[2^i\cdot\frac{n/2^i}{\lg(n/2^i)}=\frac{n}{\lg n-i}.\]Summing over \(i=0,\dots,\lg n-1\):\[T(n)=n\sum_{k=1}^{\lg n}\frac1k=n\,H_{\lg n}=\Theta(n\lg\lg n).\]Answer: C
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com