Secret Santa Draw Where Nobody Picks Themselves

Last updated: November 29, 2026

Quick Overview

A Meta team of n people draws names from a hat for Secret Santa. What is the probability nobody draws their own name, what is the expected number who do, and what happens as n grows?

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Phone Screen
Statistics & Math
Medium

0

0

0 solved


A Meta team of n people draws names from a hat for Secret Santa. What is the probability nobody draws their own name, what is the expected number who do, and what happens as n grows?

Derangements are a favorite Meta phone screen puzzle because they test both inclusion-exclusion and the shortcut of linearity of expectation. The interviewer listens for the indicator variable argument and for the 1/e limit.

What the Interviewer Expects
  • Use indicators to show the expected number of self-draws is 1 for any n
  • Apply inclusion-exclusion to count derangements
  • Show the probability tends to $1/e \approx 0.368$
  • Give the exact value for a small n such as 5
  • Note that the count of self-draws is approximately Poisson(1)
Key Topics to Cover
Derangements
Inclusion-exclusion
Indicator variables
Poisson limit
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What is the variance of the number of self-draws?
  • How would you redraw to guarantee a valid assignment while staying uniform?
  • What is the probability exactly one person draws themselves?
  • How fast does the probability converge to 1/e?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Names are a uniform random permutation of the nn people. A fixed point is someone who draws their own name. We want P(no fixed points)P(\text{no fixed points}), E[fixed points]E[\text{fixed points}] and the limit....

Approach

For the expectation, use indicators Ii=1I_i = 1 if person ii draws themselves; each has probability 1/n1/n. For the probability of no fixed points, use inclusion-exclusion over the events AiA_i = person...


Submit Your Answer
Markdown supported