The Complexity of Pattern Matching for $321$-Avoiding and Skew-Merged
Permutations
2016 ◽
Vol Vol. 18 no. 2, Permutation...
(Permutation Patterns)
◽
Keyword(s):
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$.
2010 ◽
Vol 20
(2)
◽
pp. 385-390
◽
2014 ◽
Vol 163
◽
pp. 142-154
◽
2014 ◽
Vol 31
(06)
◽
pp. 1450044
◽
2016 ◽
Vol 41
(3)
◽
pp. 163-181
Keyword(s):
2017 ◽
Vol Vol. 18 no. 2, Permutation...
(Permutation Patterns)
◽
Keyword(s):
2015 ◽
Vol 25
(04)
◽
pp. 283-298
Keyword(s):
2020 ◽
Vol 40
(4)
◽
pp. 1008-1019
1991 ◽
Vol 02
(02)
◽
pp. 83-99
Keyword(s):