Stack Sorting with Increasing and Decreasing Stacks

10/08/2019
by   Giulio Cerbai, et al.
0

We introduce a sorting machine consisting of k+1 stacks in series: the first k stacks can only contain elements in decreasing order from top to bottom, while the last one has the opposite restriction. This device generalizes <cit.>, which studies the case k=1. Here we show that, for k=2, 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 k > 3. Next we describe an optimal sorting algorithm, again for the case k=2. 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/15/2020

Permutree sorting

Generalizing stack sorting and c-sorting for permutations, we define the...
research
07/18/2019

Stack sorting with restricted stacks

The (classical) problem of characterizing and enumerating permutations t...
research
12/08/2020

An Answer to the Bose-Nelson Sorting Problem for 11 and 12 Channels

We show that 11-channel sorting networks have at least 35 comparators an...
research
10/26/2018

Some comments on the structure of the best known networks sorting 16 elements

We propose an explanation of the structure of the best known sorting net...
research
08/05/2020

Pricing group membership

We consider a model where agents differ in their `types' which determine...
research
11/06/2018

The entropy of lies: playing twenty questions with a liar

`Twenty questions' is a guessing game played by two players: Bob thinks ...
research
03/19/2019

Cross-study Reliability of the Open Card Sorting Method

Information architecture forms the foundation of users' navigation exper...

Please sign up or login with your details

Forgot password? Click here to reset