Permutation patterns in streams
July 15, 2025 Β· Declared Dead Β· π arXiv.org
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Benjamin Aram Berendsohn
arXiv ID
2507.11291
Category
cs.DS: Data Structures & Algorithms
Citations
0
Venue
arXiv.org
Last Checked
5 months ago
Abstract
Permutation patterns and pattern avoidance are central, well-studied concepts in combinatorics and computer science. Given two permutations $Ο$ and $Ο$, the pattern matching problem (PPM) asks whether $Ο$ contains $Ο$. This problem arises in various contexts in computer science and statistics and has been studied extensively in exact-, parameterized-, approximate-, property-testing- and other formulations. In this paper, we study pattern matching in a streaming setting, when the input $Ο$ is revealed sequentially, one element at a time. There is extensive work on the space complexity of various statistics in streams of integers. The novelty of our setting is that the input stream is a permutation, which allows inferring some information about future inputs. Our algorithms crucially take advantage of this fact, while existing lower bound techniques become difficult to apply. We show that the complexity of the problem changes dramatically depending on the pattern $Ο$. The space requirement is: $Ξ(k\log{n})$ for the monotone patterns $Ο= 12\dots k$, or $Ο= k\dots21$, $O(\sqrt{n\log{n}})$ for $Ο\in \{312,132\}$, $O(\sqrt{n} \log n)$ for $Ο\in \{231,213\}$, and $\widetildeΞ_Ο(n)$ for all other $Ο$. If $Ο$ is an arbitrary sequence of integers (not necessary a permutation), we show that the complexity is $\widetildeΞ_Ο(n)$ in all except the first (monotone) cases.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted