用堆排序方法,在最坏情况下的时间复杂度为( )。
A、
O(n+1)
B、
O(n
2
)
C、
O(log
2
n)
D、
O(n log
2
n)
【正确答案】
D
【答案解析】
提交答案
关闭