加载中…
The Permutation Pattern Matching problem, asking whether a pattern permutation is contained in a permutation , is known to be NP-complete. In this paper we present two polynomial time algorithms for special cases. The first algorithm is applicable if both and are -avoiding; the second is applicable if and are skew-merged. Both algorithms have a runtime of , where is the length of and the length of .

生成讲解博客的中文版本

生成AI智能校验的中文版本