streaming algorithm

HyperLogLog

online algorithm

Ref

HyperLogLog