Expected Packs to Collect Every Card in an Xbox Collection
Last updated: November 29, 2026
Quick Overview
An Xbox game sells packs that each contain one card chosen uniformly at random from 20 possible cards. What is the expected number of packs a player must open to own all 20, and how variable is that number?
Microsoft
November 29, 20260
0
0 solved
An Xbox game sells packs that each contain one card chosen uniformly at random from 20 possible cards. What is the expected number of packs a player must open to own all 20, and how variable is that number?
The coupon collector problem framed around in-game purchases, a topic Microsoft Gaming data scientists care about for fairness and monetization. The interviewer checks the linearity of expectation argument and whether the candidate can discuss variance and what it means for players.
What the Interviewer Expects
- Split the process into stages by how many distinct cards are owned
- Model each stage as geometric
- Use linearity of expectation to sum stages
- Compute or approximate the variance
- Connect results to player experience and duplicate protection
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
- Each pack has 5 distinct cards instead of 1. Roughly how many packs now?
- One card is rare, with probability 1% per pack. What dominates the expectation?
- The game adds duplicate protection that never repeats a card. What is the expectation then?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
I would confirm that each pack has one card, that cards are equally likely and independent across packs, and that we want the expected number of packs until all 20 distinct cards are owned....
Approach
After owning distinct cards, a new pack gives a new card with probability . The number of packs in that stage is geometric with mean . Total packs is the sum over $i ...