Counting & ProbabilityMediumInclusion–Exclusion, Derangements & Pigeonhole
Inclusion--Exclusion, Derangements & Pigeonhole · Medium problem
In how many ways can hats be returned to people so that exactly one person gets their own hat?
In how many ways can hats be returned to people so that exactly one person gets their own hat?