Expected Purchases to Unlock All Five Rewards Categories

Last updated: November 29, 2026

Quick Overview

A promotion gives a badge for each of five spending categories the first time a cardholder buys in it. If each purchase falls in one of the five categories uniformly at random, what is the expected number of purchases to collect all five badges, and what changes if categories are not equally likely?

Capital One
Statistics & Math
Data Scientist
Capital One
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


A promotion gives a badge for each of five spending categories the first time a cardholder buys in it. If each purchase falls in one of the five categories uniformly at random, what is the expected number of purchases to collect all five badges, and what changes if categories are not equally likely?

A coupon collector problem dressed in Capital One rewards language (dining, groceries, travel, entertainment, gas), the kind of probability warm-up used in Data Science technical screens. The interviewer checks that you decompose the waiting time into geometric stages and can reason about the non-uniform case that real spend data would produce.

What the Interviewer Expects
  • Break the process into stages by number of categories already collected
  • Recognize each stage as a geometric wait with a changing success probability
  • Compute $5H_5\approx11.42$
  • Give the variance or at least explain the long right tail
  • Explain why skewed category mix increases the expected count
Key Topics to Cover
coupon collector
geometric distribution
linearity of expectation
harmonic numbers
rewards design
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 purchases?
  • With 20 categories, roughly how many purchases are needed?
  • How would you compute the expectation if groceries are 40% of purchases and travel is 5%?
  • How would you design the promotion so most customers finish within a month?
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

Five categories, each purchase independently lands in category ii with probability 1/51/5. We need E[T]E[T] where TT is the purchase on which the fifth distinct category first appears. I would confirm ...

Approach

Split TT into stages. Once kk categories are collected, a purchase is new with probability (5−k)/5(5-k)/5, so the wait in stage kk is geometric with mean 5/(5−k)5/(5-k). By linearity of expectation, add the ...


Submit Your Answer
Markdown supported