Hashing
Overview
A hash table T[0:m-1] uses a hash function to map a universe of keys into slots of the hash table. It can be seen as a generalization of direct addressing (which has "hash function"
Load Factor
Consider hash table
Static Hashing
Static hashing refers to providing a single fixed hash function intended to work well on any data. Generally speaking, this should not be favored over random hashing.
Division Method
The division method for creating hash functions maps a key
Multiplication Method
The multiplication method for creating hash functions first multiples a key
Random Hashing
Random hashing refers to choosing a hash function randomly in a way that is independent of the keys being stored.
Universal Hashing
Let