用二分法进行插入排序,记录移动个数为A.O(nlog2n)B.O(n2)C.O(log2 n)D.O(n)
用二分法进行插入排序,记录移动个数为
A.O(nlog2n)
B.O(n2)
C.O(log2 n)
D.O(n)
相关考题:
●Suppose elements in array A are already sorted ascending order of their values when the code begins to run, then execution time of the code will be ()。()A. O(log2n) B. O(n) C. O(nlog2n) D. O(n2)
快速排序的平均时间复杂度为()。A.O(logn)B.O(n)C.O(nlog2n)D.O(n2)