retagged by
572 views
0 votes
0 votes
T(n)=4T(n/2)+n$^{2}\sqrt{2}$  T.C
retagged by

1 Answer

0 votes
0 votes
Comparing with masters theorem
T(n)=aT(n/b)+f(n)

a=4 , b=2 n^(log a base b) is n^2
f(n) = n^2 * root(2) which is asymptotically equal to n^2 so by case 3 of masters theorem

Theta(n log a base b *(log n)^ k+1)

K is the power in f(n) ... in ques it is 0

Related questions

1 votes
1 votes
1 answer
1
1 votes
1 votes
1 answer
2
1 votes
1 votes
0 answers
3
syncronizing asked Mar 15, 2019
1,321 views
Is this the correct way to solve ?Q) int algorithm(int n){ int sum =0;k,j; for (k=0;k<n/2;k++) for(j=0;j<10;j++) sum++; return 4*algorithm(n/2)*algorit...
1 votes
1 votes
1 answer
4
VikramRB asked Jan 20, 2019
1,050 views
What is the time complexity of the following recurrence relation and step to derive the same$T(n) = T(\sqrt{n}) + log(logn)$