Mental Model
A hash table stores data by turning keys into numbers to find values quickly.
Analogy: Imagine a library where each book has a special code that tells you exactly which shelf to find it on, so you don't have to search all shelves.
Keys: [apple, banana, cherry]
Hash function: key -> number
Table: [0] -> null
[1] -> null
[2] -> null
[3] -> null
[4] -> null