Parity Permutation Pattern Matching
Virginia Ardévol Martínez,Florian Sikora,Stéphane Vialette
DOI: https://doi.org/10.1007/s00453-024-01237-0
IF: 0.909
2024-05-23
Algorithmica
Abstract:Given two permutations, a pattern and a text , Parity Permutation Pattern Matching asks whether there exists a parity and order preserving embedding of into . While it is known that Permutation Pattern Matching is in , we show that adding the parity constraint to the problem makes it -hard, even for alternating permutations or for 4321-avoiding patterns. However, the problem remains in if avoids a fixed permutation, thanks to a recent meta-theorem on twin-width. On the other hand, as for the classical version, Parity Permutation Pattern Matching remains polynomial-time solvable when the pattern is separable, or if both permutations are 321-avoiding, but NP -hard if is 321-avoiding and is 4321-avoiding.
computer science, software engineering,mathematics, applied