二叉排序树的平均检索长度与二分法检索数量级都为A.O(nlog2n)B.O(n2)C.O(log2n)D.O(n2/4)
二叉排序树的平均检索长度与二分法检索数量级都为
A.O(nlog2n)
B.O(n2)
C.O(log2n)
D.O(n2/4)
相关考题:
●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)
采用折半查找方法查找长度为n的查找表,平均查找长度为()。A.O(n2)B.O(nlog2n)C.O(n)D.O(log2n)