Skip to content

3. Hashing and Table Search

Hash table lookup strategies, open-addressing and chaining variants, probabilistic filters (Bloom, Cuckoo, XOR), and locality-sensitive similarity search.

indexslugname
56hash-table-lookupHash Table Lookup
57separate-chaining-searchSeparate Chaining Search
58linear-probing-searchLinear Probing Search
59quadratic-probing-searchQuadratic Probing Search
60double-hashing-searchDouble Hashing Search
61cuckoo-hashing-lookupCuckoo Hashing Lookup
62hopscotch-hashing-lookupHopscotch Hashing Lookup
63robin-hood-hashing-lookupRobin Hood Hashing Lookup
64perfect-hashing-lookupPerfect Hashing Lookup
65minimal-perfect-hashing-lookupMinimal Perfect Hashing Lookup
66bloom-filter-membershipBloom Filter Membership
67counting-bloom-filter-membershipCounting Bloom Filter Membership
68quotient-filter-lookupQuotient Filter Lookup
69cuckoo-filter-lookupCuckoo Filter Lookup
70xor-filter-lookupXOR Filter Lookup
71binary-fuse-filter-lookupBinary Fuse Filter Lookup
72consistent-hashing-lookupConsistent Hashing Lookup
73rendezvous-hashing-lookupRendezvous Hashing Lookup
74locality-sensitive-hashing-searchLocality Sensitive Hashing Search
75simhash-near-duplicate-searchSimHash Near Duplicate Search
76minhash-similarity-searchMinHash Similarity Search
77rolling-hash-searchRolling Hash Search
78rabin-karp-searchRabin Karp Search
79hash-join-lookupHash Join Lookup
80hash-index-probeHash Index Probe
Hash Table LookupRetrieve a value by computing a hash and probing a table for the corresponding key.
3 min
Separate Chaining SearchResolve hash collisions by storing multiple elements in buckets using linked structures.
2 min
Linear Probing SearchResolve hash collisions by scanning sequential slots until the key is found or an empty slot appears.
3 min
Quadratic Probing SearchResolve hash collisions by probing with quadratic offsets to reduce clustering.
3 min
Double Hashing SearchResolve hash collisions using a second hash function to define probe steps.
3 min
Cuckoo Hashing LookupLook up a key in a cuckoo hash table by checking a small fixed set of candidate positions.
3 min
Hopscotch Hashing LookupSearch in a hash table that maintains elements within a small neighborhood of their home bucket.
3 min
Robin Hood Hashing LookupSearch in an open addressing hash table that keeps probe distances balanced across keys.
4 min
Perfect Hashing LookupLook up a key in a static hash table whose hash function has no collisions for the stored key set.
3 min
Minimal Perfect Hashing LookupLook up a key using a collision free hash function that maps a static key set to exactly n table positions.
3 min
Bloom Filter MembershipTest set membership with a compact probabilistic bit array that allows false positives but no false negatives.
3 min
Counting Bloom Filter MembershipTest membership with a Bloom filter variant that supports deletions using small counters instead of bits.
3 min
Quotient Filter LookupTest approximate membership by splitting a hash fingerprint into quotient and remainder fields.
4 min
Cuckoo Filter LookupTest approximate membership by storing compact fingerprints in cuckoo hash table buckets.
4 min
XOR Filter LookupTest approximate membership with a static fingerprint filter built from three hash locations and XOR constraints.
3 min
Binary Fuse Filter LookupTest approximate membership using a compact XOR-based filter with improved construction and cache locality.
3 min
Consistent Hashing LookupMap a key to a node by placing both on a hash ring and selecting the next node clockwise.
3 min
Rendezvous Hashing LookupMap a key to the node that receives the highest hash score for that key.
3 min
Locality Sensitive Hashing SearchSearch for approximate nearest neighbors by hashing similar items into the same buckets with high probability.
4 min
SimHash Near Duplicate SearchFind near duplicate documents by comparing compact SimHash fingerprints under Hamming distance.
4 min
MinHash Similarity SearchEstimate set similarity and find similar items using compact MinHash signatures and banding.
3 min
Rolling Hash SearchSearch for a pattern in a sequence by maintaining a hash over a sliding window.
3 min
Rabin Karp SearchSearch for a pattern in text by comparing rolling hash values before verifying matching windows.
4 min
Hash Join LookupFind matching records during a join by probing a hash table built from one relation.
3 min
Hash Index ProbeRetrieve rows by probing a hash-based index structure using an exact key match.
3 min