Mental Model
A hash map helps us find things quickly by using a special code to jump right to the answer instead of searching step by step.
Analogy: Imagine a huge library where books are arranged randomly. Without a system, you have to check every book to find one. A hash map is like having a special code that tells you exactly which shelf and spot the book is on, so you find it instantly.
Array: [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] Keys: ? ? ? ? ? ? ? ? ? ? Values: ? ? ? ? ? ? ? ? ? ?
