paper

Pattern matching in -avoiding permutations

arXiv:1511.01770

Abstract

Given permutations and with , the \emph{pattern matching} problem is to decide whether matches as an order-isomorphic subsequence. We give a linear-time algorithm in case both and avoid the two size- permutations and . For the special case where only avoids and , we present a time algorithm. We extend our research to bivincular patterns that avoid and and present a time algorithm. Finally we look at the related problem of the longest subsequence which avoids and .