How does a Java HashMap behave when two keys collide?
Explain hashCode, equals, and what the bucket does when several keys land together.
Backend and platform engineers
Collections, equality, and the concurrency story you can defend on a whiteboard.
Explain hashCode, equals, and what the bucket does when several keys land together.