Stop Drawing From a Red and Black Deck Optimally
Last updated: November 29, 2026
Quick Overview
A shuffled deck has r red and b black cards. You flip cards one at a time, winning $1 for each red and losing $1 for each black, and may stop at any time. Find the value of the game for 2 red and 2 black, describe the optimal strategy, and discuss a full 26 and 26 deck.
Akuna Capital
November 29, 20260
0
0 solved
A shuffled deck has r red and b black cards. You flip cards one at a time, winning $1 for each red and losing $1 for each black, and may stop at any time. Find the value of the game for 2 red and 2 black, describe the optimal strategy, and discuss a full 26 and 26 deck.
Optimal stopping questions show up in Akuna Capital's quant and trader onsites because they test the same dynamic programming that prices American options. The interviewer looks for a correct recursion with a max against stopping, hand computation on a small deck, and intuition for why the option to stop has value even when the deck is fair.
What the Interviewer Expects
- Define V(r, b) as the value with r red and b black left
- Write V = max(0, draw value) with correct boundary cases
- Compute V(2, 2) = 2/3 by hand
- Explain why a fair deck has positive value
- Describe the strategy as a threshold on the remaining deck and connect it to early exercise
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
- Would you pay $2.50 to play with a full deck?
- How does the value change if you must stop after at most 10 cards?
- Contrast with guessing whether the next card is red: can you beat 50% there?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Stopping is free and you can stop before drawing any card. Payoff is cumulative, so only the remaining composition matters for future decisions....
Approach
Let be the expected future gain with red and black left. Boundaries: (stop), (draw everything). Otherwise