Parity and Pattern Detection in Permutation Streams
Abstract
Consider a permutation of whose values arrive one at a time. We resolve two questions about the space needed to decide natural properties of such input: First, computing the parity of the permutation requires bits, even with randomization and constant error, and a constant number of passes. Second, every permutation pattern of length three can be detected deterministically in one pass using bits. Together with the 2026 lower bounds of Berendsohn, this completes the classification of fixed permutation patterns; The optimal space complexity is for monotone patterns and patterns of length at most three, and for every other pattern. As a consequence, we observe that we can verify BST traversals in streaming with logarithmic memory.
Create a lesson
Related papers
A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams
Shared title terminologycs.DSTsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen
Space-Optimal Spanning Tree Algorithms in Bounded-Deletion Streams
Shared title terminologycs.DSTsun-Ming Cheung, Yu Hsiang, Shang-En Huang et al.
Space-Optimal Streaming Algorithms via Efficient Encodings
Shared title terminologycs.DSLiudeng Wang, David P. Woodruff, Shenghao Xie et al.
The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams
Shared title terminologycs.DSLisa Schmierer, Ioana-Oriana Bercea
A Simple Black-Box Framework for Differentially Private Continual Release on Data Streams
Shared title terminologycs.DSNeeraj Gogate, Katherine Tomashevsky, Samson Zhou
Lower Bounds for Structured OMv, APSP, and Triangle Detection
Shared title terminologycs.DSAmir Abboud, Shyan Akmal, Ron Safier et al.