Interpolation-binary search (Q1062762): Difference between revisions

From MaRDI portal
Import240304020342 (talk | contribs)
Set profile property.
ReferenceBot (talk | contribs)
Changed an Item
 
(One intermediate revision by one other user not shown)
Property / full work available at URL
 
Property / full work available at URL: https://doi.org/10.1016/0020-0190(85)90046-8 / rank
 
Normal rank
Property / OpenAlex ID
 
Property / OpenAlex ID: W1968801254 / rank
 
Normal rank
Property / cites work
 
Property / cites work: The interpolation-sequential search algorithm / rank
 
Normal rank
Property / cites work
 
Property / cites work: An algorithmic and complexity analysis of interpolation search / rank
 
Normal rank
Property / cites work
 
Property / cites work: Understanding the complexity of interpolation search / rank
 
Normal rank
Property / cites work
 
Property / cites work: Interpolation search—a log log <i>N</i> search / rank
 
Normal rank

Latest revision as of 17:48, 14 June 2024

scientific article
Language Label Description Also known as
English
Interpolation-binary search
scientific article

    Statements

    Interpolation-binary search (English)
    0 references
    0 references
    0 references
    1985
    0 references
    Consider an array of n records stored so that the keys are arranged in increasing order. Using binary search, the search for a record can be performed in time O(log n), both in the average and in the worst case. If the keys are uniformly distributed, an improved expected performance can be obtained by interpolation or, for \(n<500\), by interpolation-sequential search. Namely, the search can be performed in expected time O(log log n) by interpolation search, and \((n\pi /32)^{1/2}+O(1)\) by interpolation- sequential search. Unfortunately, both techniques require O(n) time in the worst case. In this paper it is shown that it is possible to search in O(log n) time in the worst case and, if the keys are uniformly distributed, in O(log log n) time in the average. This result is achieved by interpolation- binary search, a new technique which combines 'interpolation' and 'binary' steps; thus, the proposed algorithm represents an improvement on the existing methods.
    0 references
    ordered array
    0 references
    searching
    0 references
    multiple complexity objective
    0 references

    Identifiers