next up previous
Next: Up: Previous:

Example

T(n) = 9T(n/3) + n
a=9, b=3, f(n) = n
nlog3 9 = n2 = $\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: Up: Previous: