I understand the basics of how a HashMap works - hm.put(obj) finds the correct bucket to place the object into, based on the obj.hashCode value. Then within that bucket if
A hash table does not need to search every bucket, just like you don't need to search every shelf on the library, because you can look up it's location in the index cards, and you don't need to search every card in the index because they are sorted... (not sure if that helps as I'm not sure if people still go to libraries or if they still have index cards)