你可能感兴趣的试题
O(nlog2 O(n2) O(log22 O(n2log2
从大到小排列好的 从小到大排列好的 元素无序 元素基本有序
n+1 n n-1
89,27,35,78,41,15 27,35,41,16,89,70 15,27,46,40,64,85 90,80,45,38,30,25
89,27,35,78,41,15 27,35,41,16,89,70 15,27,46,40,64,85 90,80,45,38,30,25
n+1 n n-1
从大到小排列好的 从小到大排列好的 元素无序 元素基本有序
O(nlog2n) O(n2) O(log2n)2 O(n2log2n)
89,27,35,78,41,15 27,35,41,16,89,70 15,27,46,40,64,85 90,80,45,38,30,25
n+1 n n-1
O(nlog2n) O(n2) O(log2n)2 O(n2log2n)
n+1 n n-1