The-Bloom-filter
This example implements a Bloom filter in Python, a probabilistic data structure for fast membership testing. Items are added using multiple hash functions that set bits in a fixed-size array. Membership checks return definitely not present or possibly present, with false positives possible. The source code is part of the 127 algorithms collection.
// repository documentation
Was this content helpful?
(0 ratings)
