Counting Distinct Elements in a Data Stream

Ziv Bar-Yossef, T. S. Jayram, Ravi Kumar, D. Sivakumar, Luca Trevisan

Abstract

We present three algorithms to count the number of distinct elements in a data stream to within a factor of 1 ±ε. Our algorithms improve upon known algorithms for this problem, and offer a spectrum of time/space tradeoffs.
BibTeX
@inproceedings{baryossef2002counting,
  author = {Ziv Bar-Yossef and T. S. Jayram and Ravi Kumar and D. Sivakumar and Luca Trevisan},
  title = {{Counting Distinct Elements in a Data Stream}},
  booktitle = {RANDOM},
  year = {2002},
  doi = {10.1007/3-540-45726-7\_1},
}

Loading related content...

Figure