1
$\begingroup$

Master's Theorem is known to me, but I can't understand how to apply this theorem to this problem. So, how I will find Θ of T(n)?

$\endgroup$
2
$\begingroup$

Define $X(n) = T (2^n)$.

Then $X(n) = T (2^n) = 3T(2^{n/2}) + n = 3X(n/2) + n$.

You solve the recurrence for $X(n)$, and $T(m) = X (\log m)$.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.