Expected number of right hats
Six guests check identical-looking hats and, on the way out, each grabs a hat uniformly at random.
On average, how many of the six guests end up with their own hat?
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
Expected same-month pairs among thirty studentsExpected number of people who get their own hat backHow many months with no birthday?Expected number of head-head pairsExpected heads from a biased coin
All questions →