English

Streaming Algorithms for Partitioning Integer Sequences

Data Structures and Algorithms 2014-07-08 v2

Abstract

We study the problem of partitioning integer sequences in the one-pass data streaming model. Given is an input stream of integers X{0,1,,m}nX \in \{0, 1, \dots, m \}^n of length nn with maximum element mm, and a parameter pp. The goal is to output the positions of separators splitting the input stream into pp contiguous blocks such that the maximal weight of a block is minimized. We show that computing an optimal solution requires linear space, and we design space efficient (1+ϵ)(1+\epsilon)-approximation algorithms for this problem following the parametric search framework. We demonstrate that parametric search can be successfully applied in the streaming model, and we present more space efficient refinements of the basic method. All discussed algorithms require space O(1ϵpolylog(m,n,1ϵ))O( \frac{1}{\epsilon} \mathrm{polylog} (m,n,\frac{1}{\epsilon})), and we prove that the linear dependency on 1ϵ\frac{1}{\epsilon} is necessary for any possibly randomized one-pass streaming algorithm that computes a (1+ϵ)(1+\epsilon)-approximation.

Keywords

Cite

@article{arxiv.1404.1732,
  title  = {Streaming Algorithms for Partitioning Integer Sequences},
  author = {Christian Konrad and László Kozma},
  journal= {arXiv preprint arXiv:1404.1732},
  year   = {2014}
}
R2 v1 2026-06-22T03:44:32.204Z