Hashing / Collision Lab

Many keys.
Seven buckets.

A hash function compresses each key into a number. Different keys can produce different hash values but still land in the same bucket.

H(s) = Σ UTF-16 code units
bucket(s) = H(s) mod 7
Observed mappings click to inspect
Select a key to trace its mapping through the hash rule.
Try another key added to the live array

Case-sensitive. Reset restores the six-key demonstration.