-
arXiv:1510.06051 [pdf, ps, other]
The Complexity of Pattern Matching for $321$-Avoiding and Skew-Merged Permutations
Abstract: The Permutation Pattern Matching problem, asking whether a pattern permutation $π$ is contained in a permutation $τ$, 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 $π$ and $τ$ are $321$-avoiding; the second is applicable if $π$ and $τ$ are skew-merged. Both algorithms have a runtime of $O(kn)$, where… ▽ More
Submitted 18 December, 2016; v1 submitted 20 October, 2015; originally announced October 2015.
MSC Class: 05A05; 68Q25
Journal ref: Discrete Mathematics & Theoretical Computer Science, Vol. 18 no. 2, Permutation Patterns 2015, Permutation Patterns (December 21, 2016) dmtcs:1308