Permutation patterns in streams

July 15, 2025 Β· Declared Dead Β· πŸ› arXiv.org

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"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 shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted