Loading practice questions
What is the time complexity of exponential sort?
(D) O(log n)
Explanation:
In exponential search, we first find a range where the required elements should be present in the array. Then we apply binary search in this range. This takes O(log n) time in the worst case.