this post was submitted on 17 May 2024
64 points (100.0% liked)

Data Structures and Algorithms

165 readers
1 users here now

A community dedicated to topics related to data structures and algorithms.

founded 6 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 14 points 4 months ago (1 children)

Wow this is surprisingly simple.

[โ€“] [email protected] 4 points 4 months ago

It really is. It'd make a wonderful assignment in a second level programming class.

We use hyperlloglog++ for this because it's mergable across nodes and threads. I haven't thought much about combining this one.