Count-Min Sketch & Stream Summaries
A probabilistic streaming structure that estimates item frequencies using several hash-indexed counter arrays.
Method
Increment one counter per row for each item; query the minimum of its row counters.
Applications
Streaming frequency and heavy-hitter estimation.
Advantages
Tiny memory footprint; constant-time updates and queries; strong theoretical guarantees; simple to implement; merges easily for distributed settings.
Limitations
Non-negative updates produce collision-based overestimates. HyperLogLog is a separate distinct-count estimator, not a frequency sketch.
Alternatives
Count sketch, HyperLogLog (cardinality), t-digest / GK for quantiles, exact hash tables when memory allows, sampling-based methods. Top Algorithms & Models — Part 2 (101–200) Research Compendium
Editorial clarification
Corrected or qualified against standard references; bundled concepts are distinguished.
Sources
Educational reference only, not professional advice.
All algorithms