#16
The Hat Check Problem
Also asked as: The hat check problem · the derangement problem · probability nobody gets their own hat
One of the classic quant interview questions, free to read in full.
MediumProbability
Problem
Four people check their hats. The hats are returned uniformly at random, one to each person. What is the probability that nobody gets their own hat back? What does the answer approach for people as ?
Your answer
Accepts decimals, fractions (5/12), and percentages (25%).