Best Stopping Rule When Reviewing Offers One at a Time
Last updated: November 29, 2026
Quick Overview
You will see n candidates for a role in random order, can rank each against those seen so far, and must accept or reject on the spot. Which strategy maximizes the probability of picking the single best candidate, and what is that probability for large n?
0
0
0 solved
You will see n candidates for a role in random order, can rank each against those seen so far, and must accept or reject on the spot. Which strategy maximizes the probability of picking the single best candidate, and what is that probability for large n?
The secretary problem is a Google onsite favorite for checking optimal stopping reasoning. Interviewers want the threshold strategy, a derivation of the success probability as a sum, the continuous approximation leading to 1/e, and discussion of how real hiring differs.
What the Interviewer Expects
- Argue the optimal policy is a threshold rule: reject the first r - 1, then take the first record
- Derive P(success) = (r-1)/n * sum_{i=r}^{n} 1/(i-1)
- Approximate by x ln(1/x), maximized at x = 1/e
- State the success probability tends to 1/e (about 37%)
- Discuss variants (maximize expected rank, recall allowed)
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 optimal cutoff for n = 10, computed exactly?
- How does the strategy change if you want to maximize expected quality rather than the chance of the very best?
- What if you know candidate scores are i.i.d. uniform rather than only relative ranks?
- What if you can pick 2 candidates?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
candidates arrive in uniformly random order. You observe only relative ranks among those seen so far. Decisions are immediate and final. Success means picking the overall best. We want the optimal...
Approach
Only a current record (best so far) can be the overall best, so the decision is when to accept a record. One can show by backward induction that the optimal rule is: skip the first candidates,...