Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. The Complexity of Pa ...
Article

The Complexity of Pattern Matching for $321$-Avoiding and Skew-Merged Permutations

Michael H. Albert, Marie-Louise Lackner, Martin Lackner, Vincent Vatter ORCID
Download article
Open on arXiv
Imported on
December 20, 2016
Published on
December 21, 2016
Last modified on
March 31, 2025
Special issue 18
vol. 18:2, Permutation Patterns 2015
Permutation Patterns
DOI
10.46298/dmtcs.1308
License
arXiv.org - Non-exclusive license to distribute
Restricted labelled combinatorial objects
Indicators
2246
Views
1092
Downloads

The Complexity of Pattern Matching for $321$-Avoiding and Skew-Merged Permutations

Michael H. Albert, Marie-Louise Lackner, Martin Lackner, Vincent Vatter ORCID
Abstract
The Permutation Pattern Matching problem, asking whether a pattern permutation $\pi$ is contained in a permutation $\tau$, is known to be NP-complete. In this paper we present two polynomial time algorithms for special cases. The first algorithm is applicable if both $\pi$ and $\tau$ are $321$-avoiding; the second is applicable if $\pi$ and $\tau$ are skew-merged. Both algorithms have a runtime of $O(kn)$, where $k$ is the length of $\pi$ and $n$ the length of $\tau$.
Keywords
  • Mathematics - Combinatorics
  • Computer Science - Data Structures and Algorithms
  • 05A05, 68Q25
Cited by

Source: OpenCitations

  • Parity Permutation Pattern Matching

    Authors : Virginia Ardévol Martínez ORCID, Florian Sikora ORCID, Stéphane Vialette ORCID

    Journal reference : Volume , 2023, pp. 384-395

    DOI : 10.1007/978-3-031-27051-2_32
  • Pattern Matching for k-Track Permutations

    Lecture notes in computer science

    Authors : Laurent Bulteau ORCID, Romeo Rizzi ORCID, Stéphane Vialette ORCID

    Journal reference : Volume , 2018, pp. 102-114

    DOI : 10.1007/978-3-319-94667-2_9
  • Labelled well-quasi-order for permutation classes

    Combinatorial Theory

    Authors : Robert Brignall ORCID, Vincent Vatter ORCID

    Journal reference : Volume 2, 2022, pp.

    DOI : 10.5070/c62359178
  • Parity permutation pattern matching

    Authors : Ardévol Martínez, Sikora, Vialette

    Journal reference : Volume , 2024, pp.

    DOI : 10.1007/s00453-024-01237-0
Preview
Loading PDF preview...