33,932 views

1 Answer

Best answer
3 votes
3 votes

apply master theorem T(n) = aT(n/b) +f(n)

a==8

b==2

f(n)=n 

nlogba==>nlog28====>nlog223===>n3  

theorem says

1)if f(n) is polynomial time greater than nlogbthen answer is  f(n)

2)if f(n) is polynomial time less nlogbthen answer is nlogba

which is greater then n  so...answer is  (n)

selected by

Related questions

1 votes
1 votes
1 answer
1
ItzDc asked Jun 3, 2022
2,973 views
I can't figure out how to proceed and which case it's falling under after calculating h(n)
4 votes
4 votes
2 answers
2
Deep99 asked Jun 18, 2016
34,810 views
0 votes
0 votes
1 answer
4