Sorting by insertion of leading elements (Q1096394): Difference between revisions

From MaRDI portal
Importer (talk | contribs)
Created a new Item
 
ReferenceBot (talk | contribs)
Changed an Item
 
(3 intermediate revisions by 3 users not shown)
Property / MaRDI profile type
 
Property / MaRDI profile type: MaRDI publication profile / rank
 
Normal rank
Property / full work available at URL
 
Property / full work available at URL: https://doi.org/10.1016/0097-3165(87)90022-7 / rank
 
Normal rank
Property / OpenAlex ID
 
Property / OpenAlex ID: W2043016253 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Bounds for sorting by prefix reversal / rank
 
Normal rank
links / mardi / namelinks / mardi / name
 

Latest revision as of 13:52, 18 June 2024

scientific article
Language Label Description Also known as
English
Sorting by insertion of leading elements
scientific article

    Statements

    Sorting by insertion of leading elements (English)
    0 references
    0 references
    0 references
    1987
    0 references
    Consider the operation on permutations consisting of removing the leading element and inserting it somewhere in the string. The number of such operations required to sort a permutation \(\sigma\) of \(\{\) 1,...,n\(\}\) into increasing order is n-k, where k is the largest integer such that the last k entries of \(\sigma\) form an increasing sequence. There is a deterministic version of the problem in which the leading element is always inserted into the position equal to its value, and the process ends when 1 reaches the front. The permutation requiring the greatest number of steps to termination is 23...n1, and it requires \(2^{n-1}-1\) steps.
    0 references
    0 references
    sorting by insertion
    0 references
    pancake problem
    0 references
    0 references