A Bloom filter is a space-efficient probabilistic structure that answers set membership with one twist: it can have false positives but never false negatives. "Definitely not present" is certain; "possibly present" needs a real check.
How it works
A bit array of bits and hash functions. To an item, set the bits it hashes to. To , check those bits — if any is 0, the item is definitely absent.
