Abstract Algorithms
Abstract AlgorithmsAn AI Powered Learning Platform

  • Home
  • Interview Prep
Home

Topic

hyperloglog

2 articles

HyperLogLog Explained: Counting Billions of Unique Items with 12 KB

TLDR: HyperLogLog estimates the number of distinct elements in a dataset using ~12 KB of memory regardless of cardinality — with ±0.81% error. The insight: if you hash every element to a random bit string, the maximum length of leading zeros you obse...

May 3, 2026•17 min read

Probabilistic Data Structures: A Practical Guide to Bloom Filters, HyperLogLog, and Count-Min Sketch

TLDR: Probabilistic data structures trade a small, bounded probability of being wrong for orders-of-magnitude better memory efficiency and O(1) speed. Bloom Filters answer "definitely not in this set" in constant time with zero false negatives. Hyper...

Apr 5, 2026•13 min read

Abstract Algorithms

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

Navigate

  • Home
  • Guided Topics
  • Interview Prep
  • About

© 2026 Abstract Algorithms. All rights reserved.

Powered by Hashnode