Bloom Filters

← Back to Hash-Based Structures

Space-efficient probabilistic data structure for membership testing. Can have false positives but never false negatives — “probably in the set” or “definitely not in the set.”

Key Properties

How It Works

Multiple hash functions map each element to bit positions in a bit array. To check membership, verify all corresponding bits are set.


data-structures hashing probabilistic