Minimal Perfect Hashing

If you know the set of things that you’re going to be hashing, then you can hash without collisions:

Minimal Perfect Hashing
Throw away the keys: Easy, Minimal Perfect Hashing
Perfect hash function

Advertisements