Passing through a stack k times with reversals

Abstract

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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…