Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a very old (and nice) problem in streaming algorithms. The solution currently used in most places is HyperLogLog[1], which basically uses the distribution of log(minimum value of hash) for a set of hashes.

[1] http://algo.inria.fr/flajolet/Publications/FlFuGaMe07.pdf



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: