On the distribution of comparisons in sorting algorithms (Q1115198): Difference between revisions

From MaRDI portal
ReferenceBot (talk | contribs)
Changed an Item
Set OpenAlex properties.
 
Property / full work available at URL
 
Property / full work available at URL: https://doi.org/10.1007/bf01954896 / rank
 
Normal rank
Property / OpenAlex ID
 
Property / OpenAlex ID: W1969935217 / rank
 
Normal rank

Latest revision as of 10:42, 30 July 2024

scientific article
Language Label Description Also known as
English
On the distribution of comparisons in sorting algorithms
scientific article

    Statements

    On the distribution of comparisons in sorting algorithms (English)
    0 references
    0 references
    0 references
    0 references
    1988
    0 references
    We consider the following natural conjecture: For every sorting algorithm every key will be involved in \(\Omega\) (log n) comparisons for some input. We show that this is true for most of the keys and prove matching upper and lower bounds. Every sorting algorithm for some input will involve \(n-n^{\epsilon}/2+1\) keys in at least \(\epsilon\) \(log_ 2 n\) comparisons, \(\epsilon >0\). Further, there exists a sorting algorithm that will for every input involve at most \(n-n^{\epsilon /c}\) keys in greater than \(\epsilon\) \(log_ 2 n\) comparisons, where c is a constant and \(\epsilon >0\). The conjecture is shown to hold for ``natural'' algorithms from the literature.
    0 references
    adversaries
    0 references
    sorting
    0 references
    lower bounds
    0 references

    Identifiers