Expected Applications Reviewed Until Two Consecutive Fraud Flags
Last updated: November 29, 2026
Quick Overview
Each application in a review queue is independently flagged with probability 0.1. On average, how many applications are reviewed until two flags appear back to back, and how does that compare with waiting for a flag followed by a clean application?
Upstart
November 29, 20260
0
0 solved
Each application in a review queue is independently flagged with probability 0.1. On average, how many applications are reviewed until two flags appear back to back, and how does that compare with waiting for a flag followed by a clean application?
Upstart's quantitative screens include classic pattern-waiting puzzles, here dressed up as a fraud review queue. The interviewer wants a clean state-based expectation argument and the counterintuitive result that two patterns of the same probability can have very different waiting times.
What the Interviewer Expects
- Define states by progress toward the pattern
- Write first-step equations for expected time
- Solve to get a closed form in p
- Compare with the flag-then-clean pattern
- Explain why overlap changes the waiting time
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
- Generalize to k consecutive flags.
- Which pattern is more likely to appear first, flag-flag or flag-clean?
- How would you verify the answer with a quick simulation?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Trials are independent with flag probability , clean probability . Count the applications reviewed, including the one that completes the pattern. Pattern FF means two flags in a row;...
Approach
Let be expected remaining reviews from scratch and after one trailing flag. For FF: and , because a clean application after a flag reset...