Understanding the HyperLogLog : a Near-Optimal Cardinality Estimation Algorithm
Hyperloglog: The analysis of a near-optimal cardinality estimation algorithm