Following the footprints of what has been done with other sorting devices, we study a popqueue and define an optimal sorting algorithm, called Cons. Our results include a description of the set of all the preimages of a given permutation, an enumeration of the set of the preimages of permutations with some specific properties and, finally, the exact enumeration of permutations having 0, 1 and 2 preimages, respectively, with a characterization of permutations having 3 preimages.
Preimages under a popqueue-sorting algorithm / Cioni, Lapo. - In: PURE MATHEMATICS AND APPLICATIONS. - ISSN 1788-800X. - ELETTRONICO. - 30:(2022), pp. 63-67. [10.2478/puma-2022-0010]
Preimages under a popqueue-sorting algorithm
Cioni, Lapo
2022
Abstract
Following the footprints of what has been done with other sorting devices, we study a popqueue and define an optimal sorting algorithm, called Cons. Our results include a description of the set of all the preimages of a given permutation, an enumeration of the set of the preimages of permutations with some specific properties and, finally, the exact enumeration of permutations having 0, 1 and 2 preimages, respectively, with a characterization of permutations having 3 preimages.File | Dimensione | Formato | |
---|---|---|---|
10.2478_puma-2022-0010.pdf
accesso aperto
Descrizione: Articolo principale
Tipologia:
Pdf editoriale (Version of record)
Licenza:
Creative commons
Dimensione
87.91 kB
Formato
Adobe PDF
|
87.91 kB | Adobe PDF |
I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.