Yes, they both fall under the broad category of randomized algorithms, and under "magic you can perform with hash functions" in my personal taxonomy.
Re:Count-Min Sketch (2019)
by vanderZwan on Sunday September 11, 2022 @06:25AM
(#32798444)
> "magic you can perform with hash functions"
I really would love to see a book that basically just covers all the cool data structures people have come up with using hash functions.
I remember learning about it from Redis: https://redis.io/docs/data-types/hyperloglogs/
[1] https://en.wikipedia.org/wiki/HyperLogLog