Amazon interview question

Dealing with collisions in hashmaps.