Inversions in \(k\)-sorted permutations (Q1270771)

From MaRDI portal
scientific article
Language Label Description Also known as
English
Inversions in \(k\)-sorted permutations
scientific article

    Statements

    Inversions in \(k\)-sorted permutations (English)
    0 references
    0 references
    7 March 1999
    0 references
    From author's abstract: When a list of size \(n\) is nearly sorted, a straight insertion sort algorithm is highly efficient since only a number of comparisons equal to the number of inversions in the original list, plus at most \(n - 1\), is required. We use a definition of nearly sorted, \(k\)-sorted, as given in \textit{K. A. Berman} and \textit{J. L. Paul} [Fundamentals of sequential and parallel algorithms (1997)] and determine the maximum number of inversions in \(k\)-sorted permutations of size \(n\). This number is approximately \(0.6kn\).
    0 references
    inversions
    0 references
    permutations
    0 references
    insertion sort
    0 references
    \(k\)-ordered
    0 references
    \(k\)-sorted
    0 references
    0 references
    0 references

    Identifiers