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)?
Asked
Active
Viewed 2,224 times
1 Answers
2
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)$.
xskxzr
- 7,613
- 5
- 24
- 47
gnasher729
- 32,238
- 36
- 56