假设线性表的长度为n,则在最坏情况下,冒泡排序需要的比较次数为、( )。
A.log2n
B.n2
C.n/2
D.n(n-1)/2
参考答案:D
Whenever I have an appointment, I like to arrive ().
A. ahead of time a little
B. a little time ahead
C. a little ahead of time
D. ahead of a little time
加油机检定时油品的温度最高不得超出()。
A.10℃
B.20℃
C.30℃
D.40℃