HashMap is probably the single most interviewed class in Core Java—for good reason. Knowing how Java mixes high bits into low bits, indexes buckets with bitwise AND, converts worst-case O(n) chains into Red-Black trees, and avoids Java 7's resize loop explains both performance and security.
More lessons in Complete Core Java