3,240 views
3 votes
3 votes

Consider the following recurrence T(n) = 3T(n/5) + lgn * lgn What is the value of T(n)? 
(A) \Theta(n ^ \log_5{3})
(B) \Theta(n ^ \log_3{5})
(c) \Theta(n Log n )
(D) \Theta( Log n )

1 Answer

Best answer
3 votes
3 votes

nlog 5 = n 0.68 and f(n) = logn*logn

Had been f(n) = n0.67 then we would have T(n) = $\Theta$(n0.68)

Now, we compare logn*logn with n0.67 to know if we can approximate by 

T(n) = $\Theta$(n0.68)

we take log of both sides:  log(logn * logn) < 0.67 * logn

So, we can approximate f(n) by n0.67 and conclude that T(n) = $\Theta$(n0.68)

selected by

Related questions

2 votes
2 votes
2 answers
1
2 votes
2 votes
2 answers
2
NIHAR MUKHIYA asked Jul 2, 2017
3,414 views
solution of t(n)= t(sqrt(n)) + n using back substitution
0 votes
0 votes
1 answer
3
LavTheRawkstar asked Feb 1, 2017
723 views
T(n)= 4T(n//64) + n/log n How to apply Akra Bazi methodHere using akra bazi method p will be 1/3after that how to integrate please tell somebody ?