← Goldman Sachs questions

Handshake problem

Filed under Goldman Sachs · Also reported at Adobe, Sirius CDW, Tricon Infotech

The question

N people in a room shake hands if they don't know each other. Everyone announces their number of handshakes. What is the possibility that everyone's answer is unique or repetitive?

No write-up yet. Related questions below have one.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.