Randomness and Probability in Data Structures

Bloom Filters

Oh, by the way:
from bitarray import bitarray
bit_array = bitarray('01101')