A key with hash value 10 joins a 7 slot table. Which slot takes it?
What does the hash function turn a key into?
The same key always hashes to the same slot.
Circle one: True False
Under linear probing, a key hashes to slot 4 but slot 4 is taken. What happens on insert?
Two keys land in one slot under chaining. Where does the second key go?
Five keys hash into ten slots with one collision. Why does this still beat checking every entry?
A friend inserts with probing but looks up by jumping only to the hashed slot. Lookups miss keys that are present. What is wrong?
A table with 10 slots holds 9 keys and lookups crawl. One chain holds 5 keys. What is the diagnosis?