The complexity of pattern matching for 321-avoiding and skew-merged permutations

14Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.

Abstract

The PERMUTATION PATTERN MATCHING problem, asking whether a pattern permutation π is contained in a text permutation τ, is known to be NP-complete. We present two polynomial time algorithms for special cases. The first is applicable if both π and τ are 321-avoiding while the second is applicable if both permutations are skew-merged. Both algorithms have a runtime of O(kn), where k is the length of π and n the length of τ.

Cite

CITATION STYLE

APA

Albert, M., Lackner, M. L., Lackner, M., & Vatter, V. (2016). The complexity of pattern matching for 321-avoiding and skew-merged permutations. Discrete Mathematics and Theoretical Computer Science, 18(2). https://doi.org/10.46298/dmtcs.1308

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free