Skip to content

Instantly share code, notes, and snippets.

@RahulJyala7
Last active October 5, 2019 15:54
Show Gist options
  • Save RahulJyala7/965460de45997b673ecf29b55f81c7cb to your computer and use it in GitHub Desktop.
Save RahulJyala7/965460de45997b673ecf29b55f81c7cb to your computer and use it in GitHub Desktop.
Bloom Filter
1) A Bloom filter is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set
For example, checking availability of username is set membership problem, where the set is the list of all registered username.
The price we pay for efficiency is that it is probabilistic in nature that means, there might be some False Positive results.
False positive means, it might tell that given username is already taken but actually it’s not.
2) The base data structure of a Bloom filter is a Bit Vector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment