Collections Framework Internals
HashMap internals, the equals/hashCode contract, complexity trade-offs and concurrent collections.
- 1✓
How does HashMap work internally? Walk through put(), collisions, treeification and resizing.
senior🎬 animated - 2✓
Explain the equals/hashCode contract. What breaks when it's violated, and how do records help?
senior - 3✓
ArrayList vs LinkedList — when is each appropriate? Why does Big-O alone mislead here?
senior - 4✓
ConcurrentHashMap vs Collections.synchronizedMap vs Hashtable. How does CHM achieve its scalability?
staff - 5✓
How do you choose the right collection? Compare Set/Map implementations and their ordering guarantees.
senior