Arrow Research search
Back to SODA

SODA 2014

Finding small patterns in permutations in linear time

Conference Paper Accepted Paper Algorithms and Complexity · Theoretical Computer Science

Abstract

Given two permutations σ and π, the P ermutation P attern problem asks if σ is a subpattern of π. We show that the problem can be solved in time 2 O ( ℓ 2 log ℓ ). n, where ℓ = | σ | and n = | π |. 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 σ as a subpattern of π, or finds a decomposition of π whose width is bounded by a function of | σ |. Then we show how to solve the P ermutation P attern problem in linear time if a bounded-width decomposition is given in the input.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
ACM-SIAM Symposium on Discrete Algorithms
Archive span
1990-2025
Indexed papers
4674
Paper id
1021156125241456910
v2026.09.13