next up previous
Next: Example Up: l2 Previous: Example

Example

T(n) = 9T(n/3) + n
a=9, b=3, f(n) = n
\(n^{log_3 9}\) = $n^2$ = $\Theta(n^2)$
f(n) = n = O( \(n^{log_3 9 - \epsilon}\)), where $\epsilon$ = 1, Case 1
T(n) = $\Theta(n^2)$


next up previous
Next: Example Up: l2 Previous: Example