Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
125 tokens/sec
GPT-4o
47 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Finding small patterns in permutations in linear time (1307.3073v2)

Published 11 Jul 2013 in cs.DS and cs.DM

Abstract: Given two permutations $\sigma$ and $\pi$, the \textsc{Permutation Pattern} problem asks if $\sigma$ is a subpattern of $\pi$. We show that the problem can be solved in time $2{O(\ell2\log \ell)}\cdot n$, where $\ell=|\sigma|$ and $n=|\pi|$. In other words, the problem is fixed-parameter tractable parameterized by the size of the subpattern to be found. We introduce a novel type of decompositions for permutations and a corresponding width measure. We present a linear-time algorithm that either finds $\sigma$ as a subpattern of $\pi$, or finds a decomposition of $\pi$ whose width is bounded by a function of $|\sigma|$. Then we show how to solve the \textsc{Permutation Pattern} problem in linear time if a bounded-width decomposition is given in the input.

Citations (87)

Summary

We haven't generated a summary for this paper yet.