Master theorem for $T(n) = 9T(\frac{n}{3}) +4n^6$

1k Views Asked by At

based on master theorem, I arrived at $$n^{2} ,f(n)=4n^6$$. So is the answer $$\theta(4n^6)$$ or is it just $$\theta(n^6)$$. And also, can this be solved with substitution method?

1

There are 1 best solutions below

0
On BEST ANSWER

A hint for you - after $k$ substitutions you should have:

$$T(n) = 9^kT(\frac{n}{3^k}) + 4n^6\sum_{i=0}^{k-1}c^i$$

where $c$ is a constant.