1.

What is the time complexity of exponential search when the input array is sorted but the values are not uniformly distributed?

A. O(n<sup>1/2</sup>)
B. O(log log n)
C. O(n)
D. O(log n)
Answer» D. O(log n)


Discussion

No Comment Found