A Charming Algorithm for Count-Distinct(justinjaffray.com)
justinjaffray.com
A Charming Algorithm for Count-Distinct
https://justinjaffray.com/a-charming-algorithm-for-count-distinct/
1 comments
This implementation incidentally uses a hash table, but any set-like data structure would work. This is different from things like HyperLogLog that actually depend on the hash values themselves in order to work.
Since the final algorithm maintains a Set, doesn't it still perform hashes?