CountMin
Count-Min Sketch, sometimes written as CountMin Sketch, is a probabilistic data structure used to estimate the frequencies of items in a data stream while using sublinear memory. It provides fast, approximate counts with formal error guarantees and is widely applied in streaming analytics, network monitoring, and large-scale databases.
The structure consists of a two-dimensional array of counters with d rows and w columns. Each row
Space and time complexity: the data structure uses O(w · d) counters. Update and query operations run
Variants and extensions include conservative updates to reduce overestimation and the ability to support deletions in
Applications include network traffic analysis, query frequency estimation in large databases, and real-time analytics where exact
History: Count-Min Sketch was introduced by Graham Cormode and S. Muthukrishnan in 2005.