HashMap internals, part by part
Thirteen short lessons with an interactive lab: hashing, buckets, put and get, collisions, load factor, capacity, resizing, equals and hashCode, treeification, Java 7 vs 8 and mutable keys.
- For: You use HashMap every day and want to know exactly what happens inside (a favourite interview topic).
- By the end: You can explain HashMap internals step by step, and avoid the bugs that come from misusing it.
- Size: 14 lessons (42 min of reading, plus time to try the code), intermediate