Four hats returned with at least one correct
Four people hang up their hats, and the hats are returned at random, one to each person.
In how many ways does at least one person get their own hat back?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Five gifts returned so no one gets their ownFour letters, none in the right envelopeSix coats returned, none to its ownerFive gifts with exactly one going home rightExactly one friend gets their own gift back
All questions →