• edited by
742 views

1 Answer

0 0 votes
Substitute n as some function of 2^k. So, k = log n. Now equation will in form of 2^k. Now reduce the equation into S(k) = 2S(k/2) + k and solve using master's theorem. And replace 'k' by log n.
Position:
Show:

Related questions

1 1 vote
2 answers 2 answers
2.9k
2.9k views
vijaycs asked Jul 11, 2016
2,937 views
On which of the following recurrence relation Masters theorem can not be applied ?A. T(n)= 2T(n/2) + n (log n).B. T(n) = T(n/2) + 1.C. T(n) = 8T(n/2) + (log n).D. T(n) = ...
0 0 votes
1 1 answer
830
830 views
0 0 votes
2 answers 2 answers
714
714 views
0 0 votes
0 0 answers
783
783 views