As we know for master theorem: T(n)=aT(n/b)+Θ(nd) this formate is required.. But for T(n)=2T(n/2)+2^n If I want to apply theorem what will be value of d here? We cant just take d=2 here..right?
Asked
Active
Viewed 39 times
-1
-
This is covered by Case 3 of the master theorem as stated on Wikipedia. – Yuval Filmus Jan 04 '18 at 11:56
1 Answers
0
The master theorem concerns recurrence relations of the form:
$T(n)=aT(n/b)+\color{red}{f(n)}$ this formate is required, where $a\geqslant 1, b>1$
This fits for case 3 of the theorem:
$f(n)=\Theta(n^c)$ where $c>\log _2 2=1$ can you procced from here?

Nehorai Elbaz
- 211
- 1
- 7