InterviewSolution
Saved Bookmarks
| 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^1/2)(b) O(log log n)(c) O(n)(d) O(log n)The question was asked in semester exam.This key question is from Searching topic in portion Searching of Data Structures & Algorithms II |
|
Answer» The correct choice is (c) O(N) |
|