Average search: O(1)

Similiar to Bucket Sort Mapping a key value to a position in hash table Use Hash Function for mapping
Issues
Hash Fuction: Setting hash value good function: low clustered, high distributed
ex) f(key)=key % 7 10→7, 14→4, 3→3 … 2. String Folding ex) key=123456 f(key) = (1+2+3+4+5+6) % M 3. Mid-Square

1. square n bit number→become 2n bit
2. choose middle r bits of squared num → 2^r-1 size hash table
ex) key=4567→208**57**489 → 57
Static hashing
Hash function is fixed
Open Hashing(Separate Chaning) Use Linked List In-memory might take O(n)

Closed Hashing
Dynamic hashing HT size is allowed to be modified Dynamically
Good for DBMS(DataBase Management System) that grow and shrink in size