Passing through a stack k times with reversals

Toufik Mansour, Howard Skogman, Rebecca Smith

Research output: Contribution to journalArticlepeer-review


We consider a stack sorting algorithm where only the appropriate output values are popped from the stack and then any remaining entries in the stack are run through the stack in reverse order. We identify the basis for the 2-reverse pass sortable permutations and give computational results for some classes with larger maximal rev-tier. We also show all classes of (t+1)-reverse pass sortable permutations are finitely based. Additionally, a new Entringer family consisting of maximal rev-tier permutations of length n was discovered along with a bijection between this family and the collection of alternating permutations of length n−1. We calculate generating functions for the number permutations of length n and exact rev-tier t.

Original languageAmerican English
Pages (from-to)309-327
Number of pages19
JournalEuropean Journal of Combinatorics
StatePublished - Oct 2019

All Science Journal Classification (ASJC) codes

  • Discrete Mathematics and Combinatorics


Dive into the research topics of 'Passing through a stack k times with reversals'. Together they form a unique fingerprint.

Cite this