Introduction to Algorithms : Recurrence
Print this page
 
         
  • Assume for some value of i.That is, i = log n

= nT(1) + C 2n*log(n)

T(n)  

= C 1n + C 2n*log(n)

= O(n*log(n))

   
  • If for some i, consider

< 2nT(1) + c2n*log(n)

T(n)  
= 2c1n + c2n*log(n)  
= O(n*log(n))
 
Prev