Pattern matching for 321-avoiding permutations

From MaRDI portal




Abstract: Given permutations sigmainSk and piinSn 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(kn2,n2log(log(n))) time algorithm. We extend our research to bivincular patterns that avoid 213 and 231 and present a O(kn4) time algorithm. Finally we look at the related problem of the longest subsequence which avoids 213 and 231.











This page was built for publication: Pattern matching for 321-avoiding permutations

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3652292)