Using The Master Method
T(n) = 9T(n/3) + n
a=9, b=3, f(n) = n
nlogb a = nlog3 9 = ?(n2)
Since f(n) = O(nlog3 9 - ?), where ?=1, case 1 applies:
Thus the solution is T(n) = ?(n2)
Previous slide
Back to first slide
View graphic version