Stack Sorting with Increasing and Decreasing Stacks
Abstract
We introduce a sorting machine consisting of stacks in series: the first stacks can only contain elements in decreasing order from top to bottom, while the last one has the opposite restriction. This device generalizes \cite{SM}, which studies the case . Here we show that, for , the set of sortable permutations is a class with infinite basis, by explicitly finding an antichain of minimal nonsortable permutations. This construction can easily be adapted to each . Next we describe an optimal sorting algorithm, again for the case . We then analyze two types of left-greedy sorting procedures, obtaining complete results in one case and only some partial results in the other one. We close the paper by discussing a few open questions.
Cite
@article{arxiv.1910.03578,
title = {Stack Sorting with Increasing and Decreasing Stacks},
author = {Giulio Cerbai and Lapo Cioni and Luca Ferrari},
journal= {arXiv preprint arXiv:1910.03578},
year = {2019}
}
Comments
16 pages, 4 figures