Searching AlgorithmsInterpolation Search

Interpolation Search

Predicts the target's index by linear interpolation on value — near O(log log n) on uniformly distributed data.

Intermediatesorted requireduniform dataO(log log n) avg
Loading visualization…