Mental Model
A hash table stores data by turning keys into numbers to find spots quickly. This lets us find things fast without checking everything.
Analogy: Imagine a library where each book has a special code that tells you exactly which shelf and spot it belongs to, so you don't have to look through all shelves to find it.
Index: 0 1 2 3 4 5 6 7 Table: [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] Key: "cat" -> hash -> 0 -> store at index 0 Key: "dog" -> hash -> 2 -> store at index 2
