Pattern Matching for 321-Avoiding Permutations

  • Authors:
  • Sylvain Guillemot;Stéphane Vialette

  • Affiliations:
  • LIGM, CNRS UMR 8049, Université Paris-Est,;LIGM, CNRS UMR 8049, Université Paris-Est,

  • Venue:
  • ISAAC '09 Proceedings of the 20th International Symposium on Algorithms and Computation
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given two permutations 驴 and 驴, the NP-complete Permutation Pattern problem is to decide whether 驴 contains 驴 as a pattern. In case both 驴 and 驴 are 321-avoiding, we prove the Permutation Pattern problem to be solvable in O(k 2 n 6) time, where k = |驴| and n = |驴|, and give a $O(kn^{4\sqrt{k}+12})$ time algorithm if only 驴 is 321-avoiding. Finally, we show W[1]-hardness of a 2-colored version of this latter problem.