pith. sign in

arxiv: 1511.01770 · v1 · pith:MYEMZZXTnew · submitted 2015-11-05 · 💻 cs.DS · math.CO

Pattern matching in (213,231)-avoiding permutations

classification 💻 cs.DS math.CO
keywords sigmaalgorithmpermutationsavoidavoidscasematchingpattern
0
0 comments X
read the original abstract

Given permutations $\sigma \in S_k$ and $\pi \in S_n$ with $k<n$, the \emph{pattern matching} problem is to decide whether $\pi$ matches $\sigma$ as an order-isomorphic subsequence. We give a linear-time algorithm in case both $\pi$ and $\sigma$ avoid the two size-$3$ permutations $213$ and $231$. For the special case where only $\sigma$ avoids $213$ and $231$, we present a $O(max(kn^2,n^2\log(\log(n)))$ time algorithm. We extend our research to bivincular patterns that avoid $213$ and $231$ and present a $O(kn^4)$ time algorithm. Finally we look at the related problem of the longest subsequence which avoids $213$ and $231$.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.