Expected Number Of Closed Loops In A Random Gift Exchange
Last updated: November 29, 2026
Quick Overview
Ten portfolio managers each draw a name uniformly at random so that the assignment is a random permutation (self-draws allowed). Following who gives to whom forms closed loops. What is the expected number of loops, and how likely is it that nobody drew themselves?
Point72
November 29, 20260
0
0 solved
Ten portfolio managers each draw a name uniformly at random so that the assignment is a random permutation (self-draws allowed). Following who gives to whom forms closed loops. What is the expected number of loops, and how likely is it that nobody drew themselves?
Random permutation questions appear in Point72 quant onsites because they reward indicator-variable thinking over brute enumeration. The interviewer expects the harmonic number for cycles, linearity of expectation for fixed points, and the 1/e limit for derangements.
What the Interviewer Expects
- Use linearity of expectation with indicators
- Show the expected number of fixed points is 1 for any n
- Derive the expected number of cycles as $H_n$
- Compute $H_{10} \approx 2.93$
- Give the derangement probability approaching $1/e \approx 0.368$
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the probability that the permutation is a single loop of all ten?
- What is the probability that a specific person is in a loop of length k?
- If a group of 100 needs to find their own names by opening 50 boxes each, what strategy uses this cycle structure?
- What is the variance of the number of fixed points?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
A uniformly random permutation of n = 10. A loop is a cycle in the permutation; a self-draw is a fixed point (a loop of length 1)....
Approach
Indicator variables. For cycles, count the expected number of cycles of each length k, or use the known fact that the length of the cycle containing a given person is uniform on 1..n....