Interpolation search

medium

If the target is 90% of the way through the value range, probe 90% of the way through the array. Astonishingly fast on uniform data, and linear when the guess is wrong.

Best O(1)Average O(log log n)Worst O(n)Space O(1)
Loading the interpolation search engine…

Where to go next