arXiv++ Combinatorics

Browse math.CO papers from arXiv

Comparing algorithms for sorting with t stacks in series

Published: 2004-04-08 | Updated: 2004-06-18
Comments: 9 pages, 7 figures, To be published in Annals of Combinatorics. The new version makes a few grammatical changes, clarifies a definition, and fixes the figures

Abstract

We show that the left-greedy algorithm is a better algorithm than the right-greedy algorithm for sorting permutations using t stacks in series when t>1. We also supply a method for constructing some permutations that can be sorted by t stacks in series and from this get a lower bound on the number of permutations of length n that are sortable by t stacks in series. Finally we show that the left-greedy algorithm is neither optimal nor defines a closed class of permutations for t>2.

BibTeX

Loading...