问题 单项选择题

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(log2

B.O(

C.O(nlog2

D.O(n2)

答案

参考答案:D

单项选择题 A1型题
名词解释