Pattern matching in (213,231)(213,231)-avoiding permutations

preprint2015arXivOpen access

Abstract

Given permutations σ∈Skσ\in S_k and π∈Snπ\in S_n with k<nk<n, 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-33 permutations 213213 and 231231. For the special case where only σσ avoids 213213 and 231231, we present a O(max(kn2,n2log⁡(log⁡(n)))O(max(kn^2,n^2\log(\log(n))) time algorithm. We extend our research to bivincular patterns that avoid 213213 and 231231 and present a O(kn4)O(kn^4) time algorithm. Finally we look at the related problem of the longest subsequence which avoids 213213 and 231231.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.