Mental Model
A hash table stores data so you can find it very fast by turning the data into a number called a hash.
Analogy: Imagine a library where each book has a special code that tells you exactly which shelf and spot to find it quickly without searching all shelves.
Hash Table: [0] -> null [1] -> null [2] -> null [3] -> null [4] -> null Hash Function: key -> index (0 to 4)
