你可能感兴趣的试题
O(n) O(nlog2n) O(n2) O(log2n)
O(n) O(n2) O(logn) O(nlogn)
O(n) O(n2) O(logn) O(nlogn)
O(n2) O(n) O(logn) O(nlogn)
O(n) O(n2) O(logn) O(nlogn)
O(m) O(n) O(m*n) O(nlog2m)
T1(n)=n+nlogn T2(n)=2n+nlogn T3(n)=n2-logn T4(n)=n+100logn
O(n) O(n2) O(logn) O(nlogn)
T1(n)=nlog2n+100log2n T2(n)=nlog2n+100log2n T3(n)=n2-100log2n T4(n)=4nlog2n-100log2n
O(logn) O(nlogn) O(logkn) O(nlogkn)
O(logn) O(nlogn) O(logkn) O(nlogkn)
O(n) O(n2) O(logn) O(nlogn)
T1(n)=n+nlogn T2(n)=2n+nlogn T3(n)=n2-logn T4(n)=n+100logn
0(1) 0(n) 0(n1.5) 0(nlog2n)
T1(n)=n+nlogn T2(n)=2n+nlogn T3(n)=n2-logn T3(n)=n+100logn
T1(n)=n+nlogn T2(n)=2n+nlogn
T3(n)=n2-logn T4(n)=n+100logn
T1(n)=nlog2n+100log2n T2(n)=nlog2n+100log2n T3(n)=n2-100log2n T4(n)=4nlog2n-100log2n