Brain-Score 91/100 TECH Hello Interview · 1:58

Bloom Filters: Why They Allow False Positives But Never False Negatives

3-Second Blueprint (English)

  1. Bloom filters test set membership inside a compact fixed-size bit array by hashing each added item into multiple bit positions.
  2. If any checked bit is zero, the item is guaranteed absent—ensuring zero false negatives with 10–20x less RAM than a full hash set.
  3. Colliding bits create rare, tunable false positives, letting Chrome screen 1 billion malicious URLs locally in ~1.2 GB of memory.
Bloom FilterProbabilistic Bit ArrayHash FunctionsSystem Design

3-Sekunden-Fazit (Deutsch)

  1. Bloom-Filter prüfen Mengenmitgliedschaft in einem festen Bit-Array, indem jedes Element per Hash mehrere Bitpositionen auf eins setzt.
  2. Ist beim Nachschlagen ein Bit null, fehlt das Element garantiert – null False Negatives bei 10–20-mal weniger RAM als ein Hash-Set.
  3. Bit-Kollisionen erzeugen seltene False Positives, sodass Chrome lokal 1 Milliarde schädliche URLs in nur ca. 1,2 GB Speicher prüft.
Bloom-FilterProbabilistisches Bit-ArrayHash-FunktionenSystemdesign

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.