T( n ) = O ( n )
T( k ) = O ( k )k < nT( k ) ≤ ckcT( n ) = 2 T( ⌊ n / 2 ⌋ ) + n ≤ 2 c ⌊ n / 2 ⌋ + n ≤ ( c + 1 )nT( n ) = O ( n )
T( k ) = O ( k )k < nT( k ) = O ( k )c ∀ k ≥ N, T( k ) ≤ ckT( n ) = O ( n )TT( n )
Ôi
T( k ) ≤ ckk < nT( n ) = 2 T( ⌊ n / 2 ⌋ ) + n ≤ 2 c ⌊ n / 2 ⌋ + n ≤ ( c + 1 )n
T( k ) ≤ ckk = nT( K ) ≤ ( c + 1 )kT( k ) ≤ ckcTck
c1km = 2pkcm= ck+ pck= c0đăng nhập2k
k ≥ 1T( k ) ≤ c log2( k )
Θ ( nl o g (n))Ô ( n )
2 T( N / 2 )nđăng nhập2( 2 ) = 1Θ( nđăng nhập( n ) )