Mental Model
A hash table stores data by turning keys into numbers to find spots quickly. This lets us find things fast without searching everything.
Analogy: Imagine a library where each book has a special code that tells you exactly which shelf and spot to find it, so you don't have to look through all shelves.
Hash Table: [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] Keys: k1 k2 k3 null null null null null null null Values: v1 v2 v3 null null null null null null null Hash Func: key -> index in table
