单项选择题
用堆排序方法,最坏情况下,所需时间为( )。
A.O(
B.O(n
2
)
C.O(log
2
D.O(n log
2
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
设有100个结点,用二分法查找时,最大比较次数是( )。
A.25
B.50
C.10
D.7
点击查看答案
单项选择题
以下关键码序列用快速排序法进行排序,速度最慢的是( )。
A.{23,27,7,19,11,25,32}
B.{23,11,19,32,27,25,7}
C.{7,11,19,23,25,27,32}
D.{27,25,32,19,23,7,11}
点击查看答案
相关试题
这些二叉排序树中有( )棵是最佳二叉排序树。
能构造出( )种不同的二叉排序树。
A hash table with hash function is...
The sorting method described by the...
The figure below Shows a record us...