LogLog (Probabilistic Data Structure for Cardinality)

Imagine you had a probelm where you were asked to find the number of unique elements in a list of data where there could be duplicates. There are 2 quick approaches one could quickly come up with. One option is simply to rely on the library's set but often times they have to deal with reisizing their array, deal with collisions, deal with equality checks. The other option would be simply to sort the list of data then simply iterate through the list and gather non-duplicates. Both of these work f...

 •  0 comments  •  flag
Share on Twitter
Published on October 13, 2020 09:32
No comments have been added yet.