Mental Model
A HashMap stores key-value pairs by turning keys into numbers to find where to keep values quickly.
Analogy: Imagine a big set of mailboxes where each mailbox number is found by turning a person's name into a number, so you can quickly find their letters without searching all mailboxes.
Buckets array: [0] -> null [1] -> null [2] -> null [3] -> null [4] -> null Each bucket can hold a linked list of entries (key -> value).
