40 Algorithms Every Programmer Should Know
上QQ阅读APP看书,第一时间看更新

The Performance of Interpolation Search

If the data is unevenly distributed, the performance of the interpolation search algorithm will be poor. The worst-case performance of this algorithm is O(N) and if the data is somewhat reasonably uniform, the best performance is O(log(log N)).