in Algorithms
444 views
1 vote
1 vote
$T(n)=2T(\sqrt{n})+logn$
in Algorithms
444 views

4 Comments

Or you can use the substitution method taking logn =m. Then the equation becomes : S(m) = 2S(m/2) + m. Using master's theorem the complexity comes to mlogm . Putting back the values you can get O(logn loglogn)
0
0

Please log in or register to answer this question.