Expected Repeat Partners When Reshuffling Coffee Chat Pairings
Last updated: November 29, 2026
Quick Overview
A Meta team of 10 is paired up for weekly coffee chats, and next week everyone is re-paired uniformly at random. What is the expected number of pairs that repeat, and what is the probability no pair repeats?
Meta
November 29, 20260
0
0 solved
A Meta team of 10 is paired up for weekly coffee chats, and next week everyone is re-paired uniformly at random. What is the expected number of pairs that repeat, and what is the probability no pair repeats?
This question models random matching features at Meta, such as pairing users for chats or reviewers for content, and tests counting perfect matchings plus inclusion-exclusion. The interviewer expects linearity of expectation for the mean, an exact inclusion-exclusion sum for the probability, and a Poisson approximation check.
What the Interviewer Expects
- Counts perfect matchings of 2n people as (2n-1)!!
- Gets P(a given old pair repeats) = 1/(2n-1)
- Computes expected repeats n/(2n-1) = 5/9
- Writes the inclusion-exclusion sum for no repeats and evaluates about 0.576
- Compares to the e^(-1/2) approximation and verifies by simulation
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
- How would you generate a pairing that guarantees no repeats?
- What is the variance of the number of repeated pairs?
- How does the answer behave as the team grows large?
- What if pairs are formed only within sub-teams?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
people, last week's pairing is fixed with pairs, and the new pairing is uniform over all perfect matchings. A repeat is a pair present in both weeks....
Approach
Number of perfect matchings of people: , since person 1 has choices of partner and the rest recurse. For the mean, use one indicator per old pair. For no repe...