Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Sorting with a popqueue - MaRDI portal

Sorting with a popqueue (Q6551807)

From MaRDI portal





scientific article; zbMATH DE number 7861516
Language Label Description Also known as
English
Sorting with a popqueue
scientific article; zbMATH DE number 7861516

    Statements

    Sorting with a popqueue (English)
    0 references
    0 references
    0 references
    7 June 2024
    0 references
    In this work, the authors consider a new data structure for sorting permutations, which they call popqueue in analogy with a much older notion called the popstack. They consider two sorting algorithms on popqueues, \texttt{Min} and \texttt{Cons}. They first classify permutations which are sorted by these algorithms in one pass. They then consider sorting in two passes and show that \texttt{Cons} is a more natural sorting algorithm. The authors classify permutations that are sortable by \texttt{Cons} in terms of pattern avoidance. They end with determining possible outputs of \texttt{Cons}, permutations with sort to them, and enumeration questions.
    0 references
    0 references
    permutations
    0 references
    sorting
    0 references
    popqueue
    0 references
    pattern avoidance
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references