Make a class purely immutable
Filed under Goldman Sachs
The question
Given a code piece, modify it to make the class purely immutable and discuss HashMap equals and hashCode scenarios.
No write-up yet. Related questions below have one.
Related Goldman Sachs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.