Coats handed back at random: how many match?
A cloakroom checks coats from 8 guests, but the claim tickets get scrambled. At closing time the attendant simply hands the 8 coats back in a completely random order, one coat per guest.
On average, how many of the 8 guests walk away with their own coat?
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
How many rising steps in a shuffled list?How many falling steps in a shuffled list?Secret Santa draws: how many pick themselves?Quizzes returned at random: how many honor students?Valet returns cars at random: how many luxury owners win?How many pairs land out of order in a random ranking?
All questions →