AlgorithmsSearching & hashingEdit on GitHubEdit history
Binary Search
binary chop, bisection1946
A search that halves the search interval of a sorted array at each step, finding an element in O(log n).
Origin
Lineage
Derived algorithms
Reference workChooses the probe position by interpolating key values instead of taking the midpoint (treated together in Knuth TAOCP Vol.3 §6.2.1)
Author statementThe Bentley–Yao algorithm finds an upper bound exponentially, then performs binary search — doi:10.1016/0020-0190(76)90071-5
Structural analysisLike binary search it shrinks an interval of a sorted array, but chooses split points by Fibonacci numbers. — doi:10.1145/367487.367496
Author statementFractional cascading reduces repeated binary searches over many lists to one binary search plus constant-time steps. — doi:10.1007/BF01840440
Notable implementations
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…