Sorting with two ordered stacks in series

  • Authors:
  • M. D. Atkinson;M. M. Murphy;N. Ruskuc

  • Affiliations:
  • Department of Computer Science, University of Otago, Dunedin, New Zealand;School of Mathematics and Statistics, University of St. Andrews, St. Andrews, KY16 9SS UK;School of Mathematics and Statistics, University of St. Andrews, St. Andrews, KY16 9SS UK

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2002

Quantified Score

Hi-index 5.23

Visualization

Abstract

The permutations that can be sorted by two stacks in series are considered, subject to the condition that each stack remains ordered. A forbidden characterisation of such permutations is obtained and the number of permutations of each length is determined by a generating function.