单选题:在长度为 的有序线性表中进行二分查找,最坏情况下需要比较的次数是(  )

题目内容:
在长度为 的有序线性表中进行二分查找,最坏情况下需要比较的次数是(  ) A.0(n)
B.0(n2 )
C.0(log2 n)
D.0( nlog2 n)

参考答案:
答案解析:

根据以下材料,回答题 HomeHeating Centralheatingbecamepopularonlyaftert

根据以下材料,回答题 HomeHeating CentralheatingbecamepopularonlyaftertheCivilWar.Typica

查看答案

Whenthecoverdiminishesinthecomingdecades,temperature________

Whenthecoverdiminishesinthecomingdecades,temperature__________. A.willinfluence

查看答案

Thedifferencebetweenactiveandpassiveeuthanasiaiswhether_____

Thedifferencebetweenactiveandpassiveeuthanasiaiswhether__________. A.thereisana

查看答案

根据以下材料,回答题 On-LineCancerChatwithaSafetyNet CancerResearchUKh

根据以下材料,回答题 On-LineCancerChatwithaSafetyNet CancerResearchUKhaslaunchedanonline

查看答案

Boysmissmoreschoolhourseachyearduetodental-relatedillness.

Boysmissmoreschoolhourseachyearduetodental-relatedillness. A.Right B.Wrong C.No

查看答案