English

Permutree sorting

Combinatorics 2023-07-13 v2 Data Structures and Algorithms

Abstract

Generalizing stack sorting and cc-sorting for permutations, we define the permutree sorting algorithm. Given two disjoint subsets UU and DD of {2,,n1}\{2, \dots, n-1\}, the (U,D)(U,D)-permutree sorting tries to sort the permutation πSn\pi \in \mathfrak{S}_n and fails if and only if there are 1i<j<kn1 \le i < j < k \le n such that π\pi contains the subword jkijki if jUj \in U and kijkij if jDj \in D. This algorithm is seen as a way to explore an automaton which either rejects all reduced expressions of π\pi, or accepts those reduced expressions for π\pi whose prefixes are all (U,D)(U,D)-permutree sortable.

Keywords

Cite

@article{arxiv.2007.07802,
  title  = {Permutree sorting},
  author = {Vincent Pilaud and Viviane Pons and Daniel Tamayo Jiménez},
  journal= {arXiv preprint arXiv:2007.07802},
  year   = {2023}
}

Comments

18 pages, 5 figures

R2 v1 2026-06-23T17:08:40.168Z