Quant interview preparation
Prop market making and quantitative research, weighted the way the interviews actually are: probability and expected value, statistics and machine learning, market making logic, programming and options. Every question is either traced to a named firm from a public candidate report, or tagged at desk level when we could not trace it, and every probability answer shows the reasoning path rather than just the number.
100 questions, mapped to the firms that asked them
- Questions
- 100
- Traced to a firm
- 53
- Firms
- 15
- Updated
- September 2026
002I hand you a coin that comes up heads one third of the time. How do you generate a fair coin flip from it?D.E. ShawResearch · New York · 2026Tower Research CapitalProp Trading · New York · 2019
Say this
Flip it twice. Call heads-then-tails a fair heads, tails-then-heads a fair tails, and if you get HH or TT throw the pair away and start again. HT and TH both have probability p times one minus p, so they are equally likely whatever p is.
Then walk it
- With p equal to a third: HT is 1/3 times 2/3 which is 2/9, and TH is 2/3 times 1/3 which is also 2/9. Identical, so conditioning on one of the two having happened gives you exactly a half.
- That is von Neumann's trick. The point is that it needs no knowledge of p at all, which is what makes it useful. You never have to estimate the bias.
- It does need two things: the flips are independent, and p is strictly between zero and one. A coin that is genuinely two-headed breaks it, and so does a coin whose bias drifts flip to flip.
- Probability a given pair is useful is 2 times 2/9, which is 4/9. So you discard more than half your pairs at p equal to a third.
- The honest limitation: it is unbiased but wasteful. If the bias drifts slowly, you can protect yourself by pairing adjacent flips rather than flips far apart, so the drift cancels locally.
Where candidates lose it
Trying to estimate p first and then correct for it. That introduces estimation error and gives you an approximately fair coin, not a fair one. The elegant answer is exactly fair with zero knowledge of p, and the interviewer is looking for that symmetry argument.
Expect next
- What is the expected number of flips of the biased coin per fair flip?
- How would you get a uniform random number on one to three from the same coin?
- Can you do better than throwing HH and TT away entirely?
Reported by candidates at D.E. Shaw (Research, New York, 2026); Tower Research Capital (Prop Trading, New York, 2019). Source: Wall Street Oasis.
004Given a biased coin with probability p, how would you generate n independent fair coin tosses, and what is the lower bound on the number of biased tosses you need?Tower Research CapitalTrading · Princeton · 2018D.E. ShawResearch · New York · 2026
Say this
The bound is information-theoretic. Each biased flip carries H(p) bits of entropy, where H(p) is minus p log2 p minus (1-p) log2 (1-p), and each fair flip you output consumes exactly one bit. So you need at least n divided by H(p) biased flips on average, and no scheme can beat that.
Then walk it
- The argument is conservation of randomness. You cannot manufacture entropy, only repackage it, so expected input entropy must be at least expected output entropy.
- At p equal to a half, H is 1 and the bound is n flips, which is obviously right. At p equal to 0.1, H is about 0.47, so you need roughly 2.1 flips per fair bit at best.
- Von Neumann pairing achieves 1/(2p(1-p)) flips per bit, which at p equal to 0.1 is about 5.6. Miles off the 2.1 floor.
- To get close, you recycle the discarded information. Elias's and Peres's extractors take the sequence of discarded HH/TT outcomes and the positions of the successes, both of which still carry entropy, and feed them back in recursively. Peres's construction converges to the entropy bound as the block length grows.
- What I would actually say on a desk: for n fair bits I would use pairing because it is three lines of code and provably correct, and I would only reach for a Peres extractor if the biased source were expensive, which in practice it never is.
Where candidates lose it
Answering only with the construction and not the bound, or quoting the bound as n/H(p) without being able to say why entropy is the right currency. Also do not claim von Neumann is optimal. It is unbiased and simple, and it is provably wasteful, and saying so is the difference between having read the trick and understanding it.
Expect next
- Where exactly does the discarded entropy live in the von Neumann scheme?
- Now the reverse problem: simulate a p-coin from fair coins.
- What if p is unknown but you need to hit the entropy bound?
Reported by candidates at Tower Research Capital (Trading, Princeton, 2018); D.E. Shaw (Research, New York, 2026). Source: Wall Street Oasis.
005I shuffle a deck and turn cards face up one at a time. At any point you may say stop, and you win if the next card is red. What is your optimal strategy and what is your probability of winning?Jump TradingResearch · Chicago · 2018
Say this
Every strategy wins with probability exactly one half, so there is no optimal strategy. Stopping before the first card is as good as any clever rule based on the count.
Then walk it
- The quick proof is a symmetry argument. Fix any stopping rule and imagine swapping the colour of every card in the deck. The rule's decisions are determined by cards already seen, and the swap turns every win into a loss and every loss into a win, so wins and losses are equally likely.
- The cleaner proof is a martingale. Let X be the fraction of red cards remaining. Before you see a card, the expected fraction of reds remaining after you see it is exactly the current fraction, because the card you turn is a uniform draw from what is left. So X is a martingale.
- Your win probability when you stop is X at the stopping time. Optional stopping says the expected value of a bounded martingale at any stopping time equals its starting value, which is 26/52, or a half.
- This is the whole lesson of the problem. Your information at the moment you stop is already priced into the state. There is no edge in a fair game no matter how you time it.
- One caveat that makes it a real problem rather than a trick: if you are forced to keep going to the last card, you still win a half, because the last card is red with probability a half. But the variance of the outcomes differs across strategies even though the mean does not, and if you had a utility function that is not linear you would care.
Where candidates lose it
Inventing a rule like wait until more blacks than reds have come out, and claiming it beats a half. That intuition feels right and it is wrong, because the situations in which the rule fires are exactly the situations where the deck was red-heavy from the start. Name the martingale and use optional stopping, or at minimum give the colour-swap symmetry argument.
Expect next
- Prove it with optional stopping, precisely.
- Does the answer change if you can also bet on black?
- Which strategy has the lowest variance of outcome?
Reported by candidates at Jump Trading (Research, Chicago, 2018). Source: Wall Street Oasis.
006You want to draw a black card followed by a red card. One deck is a full 52-card deck, another has had some cards removed. Which deck do you choose and why?Old Mission CapitalQuantitative Research · New York · 2014
Say this
Write the probability down before you pick. For a deck with b blacks and r reds, drawing black then red is b/(b+r) times r/(b+r-1). Then just compare the candidate decks on that expression, and you will find you want the deck that is as balanced as possible and as small as possible.
Then walk it
- Full deck: 26/52 times 25/51, which is 0.5 times 0.490, about 24.5 percent.
- Now try a tiny balanced deck, one black and one red. That is 1/2 times 1/1, which is 50 percent. Far better.
- So the direction is clear. Removing cards helps if it keeps the deck balanced, because the second draw's conditional probability improves once the black card you removed is a bigger fraction of a smaller deck.
- Unbalancing hurts. A deck of 26 blacks and 1 red gives 26/27 times 1/26, which is 1/27, about 3.7 percent. Almost all your probability mass dies on the second draw.
- So: balanced beats unbalanced, small beats large, and the extreme is one black plus one red at fifty percent. Say the formula first, then test the corners. That is faster and less error-prone than trying to reason about it verbally.
Where candidates lose it
Reasoning in words about whether removing cards helps or hurts, and getting tangled. Write b/(b+r) times r/(b+r-1) immediately, then plug in three corner cases. Also do not forget the minus one in the denominator, because sampling without replacement is the entire content of the question.
Expect next
- What deck maximises the probability of black then red then black?
- What if you wanted two cards of the same colour instead?
- Now make me a market on the probability for the standard deck.
Reported by candidates at Old Mission Capital (Quantitative Research, New York, 2014). Source: Wall Street Oasis.
007What is the probability of being dealt four of a kind in a five-card poker hand?Old Mission CapitalQuantitative Research · New York · 2014
Say this
624 hands out of 2,598,960, which is about 0.024 percent, or one in roughly 4,165. Thirteen choices of rank for the quad, times 48 remaining cards for the fifth card.
Then walk it
- Denominator: 52 choose 5 is 2,598,960. Worth memorising, it comes up constantly.
- Numerator: pick the rank of the four of a kind, 13 ways. All four suits are forced. Then the fifth card is any of the 48 cards left, so 13 times 48 is 624.
- 624 over 2,598,960 simplifies to 1 over 4,165. Call it one in four thousand.
- The counting discipline that matters: the kicker is 48, not 12. If you write 13 times 12 you are counting ranks not cards, and you would be off by a factor of four.
- Quick cross-check against a fact you might already know: a full house is 3,744 hands and a straight flush is 40. Four of a kind sitting between them at 624 is consistent with the standard hand ranking, which is ordered by exactly this rarity.
Where candidates lose it
Double counting, or using 12 instead of 48 for the fifth card. The other classic error is dividing by 5 factorial somewhere by accident. Use combinations consistently in both numerator and denominator, and state the denominator before you start so the interviewer can follow.
Expect next
- Now do a full house.
- What is the probability of a flush, excluding straight flushes?
- How would that change in a seven-card game like Texas hold'em?
Reported by candidates at Old Mission Capital (Quantitative Research, New York, 2014). Source: Wall Street Oasis.
017Five pirates must split a hundred gold coins. The most senior proposes a split, everyone votes, and if at least half agree it passes, otherwise he is thrown overboard and the next most senior proposes. How should the senior pirate split the coins to survive and maximise his take?Old Mission CapitalProp Trading · New York · 2014
Say this
98 for himself, 0 to the second, 1 to the third, 0 to the fourth, 1 to the fifth. Solve it by backward induction from two pirates, because each pirate's vote depends only on what they would get if the current proposer dies.
Then walk it
- Two pirates left: the senior of the two takes 100, votes for himself, and half of two is one vote, so it passes. Pirate 4 gets 100 and pirate 5 gets 0.
- Three left: pirate 3 needs one more vote. Pirate 5 gets nothing in the two-pirate world, so 1 coin buys him. Split is 99, 0, 1.
- Four left: pirate 2 needs one more vote out of four. He buys pirate 4, who gets 0 in the three-pirate world, for 1 coin. Split is 99, 0, 1, 0.
- Five left: pirate 1 needs two more votes. The pirates who get 0 under pirate 2's plan are 3 and 5, so he buys both for 1 coin each. That gives 98, 0, 1, 0, 1.
- The whole method is: work out what each pirate gets if the proposal fails, then pay each cheap vote exactly one coin more than that. The assumptions matter and you should state them: pirates are perfectly rational, prefer gold, prefer to live, and prefer fewer rivals if otherwise indifferent.
Where candidates lose it
Trying to reason forwards from five pirates, which is impossible. State that you are doing backward induction and start from the base case of two. The second trap is the tie rule. Half of an even number counts as passing here, and if you assume a strict majority the whole answer shifts, so say your reading of the rule out loud before you solve.
Expect next
- What happens with two hundred pirates and a hundred coins?
- How does the answer change if a tie means the proposer dies?
- What if pirates value killing above one extra coin?
Reported by candidates at Old Mission Capital (Prop Trading, New York, 2014). Source: Wall Street Oasis.
Firm tags come from public, anonymous candidate reports on Wall Street Oasis: strong signal, not sworn testimony. Firms are named as the places a question was reported, not as partners of Fin Maverick. Answers are written for this page to show how to think out loud; they are not scripts to recite.

