Reputation: 91
Use the master theorem to put O()
bounds on this statement:
T(n) = 16T(n/4) + n2 + log n
Upvotes: -1
Views: 1236
Reputation: 105
T(n)=16T(n/4)+n^2+log n ==> T(n)=16T(n/4)+n^2. Because n^lg16=n^2 the result is o(n^2 log n)
Upvotes: 0