0
4.0kviews
Explain Flajolet-Martin algorithm to count the distinct elements in a stream.

Explain Flajolet-Martin algorithm to count the distinct elements in a stream.

1 Answer
0
329views


Flajolet-Martin :-

  • Flajolet-Martin algorithm approximates the number of unique objects in a stream or a database in one pass.

  • If the stream contains n elements with m of them unique, this algorithm runs in O(n) time and needs O(log(m)) memory. So the real innovation here is the memory usage, in …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.