What is the time complexity of interpolation search when the input array has uniformly distributed values and is sorted?
A. O
B. O(log log n)
C. O(n log n)
D. O(log n)
Answer: b
Explanation: Interpolation search goes to different positions in the array depending on the value being searched. It is an improvement over binary search and has a time complexity of O(log log n).