Welcome to D
SIGMOD 2003
PODS 2003
SIGMOD-RECOR
ADBIS
CIDR 2003
CIKM 2003
DASFAA 2003
Data Enginee
DEBS
DMKD 2003
DOLAP 2003
DPDJ 2003
ER
GIS 2003
Hypertext 20
ICDE 2003
ICDM 2003
ICDT 2003
JCDL 2003
KRDB 2003
MIR 2003
MIS 2003
MMDB 2003
RIDE 2003
SBBD 2003
SIGIR 2003
SIGIR-FORUM
SIGKDD 2003
SIGKDD-EXP
SSDBM 2003
TIME 2003
TODS
<<< = TODS Papers>>>
VLDB 2003
VLDB Journal
WIDM 2003

A simple algorithm for finding frequent elements in streams and bags


Richard M. Karp, Scott Shenker, and Christos H. Papadimitriou

  View Paper (PDF)  

Return to March 2003, Volume 28, Number 1


Abstract

We present a simple, exact algorithm for identifying in a multiset the items with frequency more than a threshold µ . The algorithm requires two passes, linear time, and space 1=µ . The first pass is an on-line algorithm, generalizing a well-known algorithm for finding a majority element, for identifying a set of at most 1=µ items that includes, possibly among others, all items with frequency greater than µ .


©2004 Association for Computing Machinery