Getting your lesson ready…

0
Reading your lesson…
0:00 / 0:00

How can a Bloom filter say no for sure?

A lesson on Bloom filters (Wikipedia). Computing, college level.

To check an item, do the same first step.

Give it to all k hash functions and get k positions.

Now look at those boxes.

If any box holds 0, the item is definitely not in the set.

If it had been added, that box would be 1.

If every box holds 1, the item is probably in the set.

Other items may have set those boxes to 1.

Questions in this lesson