Abstract
We consider the well-studied pattern-counting problem: given a permutation π ∈ Sn and an integer k > 1, count the number of order-isomorphic occurrences of every pattern τ ∈ Sk in π. Our first result is an Õ(n2)-time algorithm for k = 6 and k = 7. The proof relies heavily on a new family of graphs that we introduce, called pattern-trees. Every such tree corresponds to an integer linear combination of permutations in Sk, and is associated with linear extensions of partially ordered sets. We design an evaluation algorithm for these combinations, and apply it to a family of linearly-independent trees. For k = 8, we show a barrier: the subspace spanned by trees in the previous family has dimension exactly |S8|− 1, one less than required. Our second result is an Õ(n7/4)-time algorithm for k = 5. This algorithm extends the framework of pattern-trees by speeding-up their evaluation in certain cases. A key component of the proof is the introduction of pair-rectangle-trees, a data structure for dominance counting.
| Original language | English |
|---|---|
| Title of host publication | 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025 |
| Editors | Keren Censor-Hillel, Fabrizio Grandoni, Joel Ouaknine, Gabriele Puppis |
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| ISBN (Electronic) | 9783959773720 |
| DOIs | |
| State | Published - 30 Jun 2025 |
| Event | 52nd EATCS International Colloquium on Automata, Languages, and Programming, ICALP 2025 - Aarhus, Denmark Duration: 8 Jul 2025 → 11 Jul 2025 |
Publication series
| Name | Leibniz International Proceedings in Informatics, LIPIcs |
|---|---|
| Volume | 334 |
| ISSN (Print) | 1868-8969 |
Conference
| Conference | 52nd EATCS International Colloquium on Automata, Languages, and Programming, ICALP 2025 |
|---|---|
| Country/Territory | Denmark |
| City | Aarhus |
| Period | 8/07/25 → 11/07/25 |
Bibliographical note
Publisher Copyright:© Gal Beniamini and Nir Lavee.
Keywords
- Pattern counting
- patterns
- permutations
Fingerprint
Dive into the research topics of 'Counting Permutation Patterns with Multidimensional Trees'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver