Practice bank
Quant interview questions, with the reasoning written out
45 problems of the kind quant interviews actually use. Each one shows the question first, then a worked solution you can open when you are ready, and a line on what the interviewer is really listening for. No account, no gate, nothing saved off your own device.
Problem of the day #013
The larger of two dice
Two fair six-sided dice are rolled. What is the expected value of the larger?
Pick a topic
Probability
11Conditional probability, symmetry arguments and distributions. The largest single category in quant interviews and the one candidates most often get wrong under time pressure.
Expected value
7Games, stopping rules and recursive expectations. Interviewers want to see you set up the recursion before you reach for arithmetic.
Brainteasers
7Logic and estimation puzzles with a clean insight at the centre. Stated out loud, usually with no paper, and scored on how you search rather than whether you already knew it.
Market making
6Quoting, adverse selection and position management. These are the questions that separate people who can price under uncertainty from people who can only compute.
Statistics
7Estimation, regression, correlation and the traps in each. Research interviews lean here heavily, and vague answers are punished.
Coding
7Algorithms and numerical work with a trading flavour. Correctness first, then complexity, then the practical detail that shows you have written production code.
Every problem
Grouped by topic, hardest last within each group.
Probability
Topic pageThe final roll
HardYou roll a fair six-sided die until the running total first exceeds 12. What is the probability the final roll is a 6?
Two children, one is a boy
Warm-upA family has two children. You are told at least one of them is a boy. What is the probability both are boys?
The three doors
Warm-upThree doors hide one prize. You pick a door. The host, who knows where the prize is, opens a different door and reveals it is empty, then offers you the swap. Do you swap?
First head wins
StandardYou and I alternate flipping a fair coin, you first. The first person to flip heads wins. What is your probability of winning?
Breaking a stick into a triangle
HardA stick of length one is broken at two points chosen uniformly and independently. What is the probability the three pieces form a triangle?
Shared birthdays
StandardHow many people do you need in a room before the probability that two share a birthday exceeds one half?
Waiting for two heads in a row
HardWhat is the expected number of fair coin flips until you see two heads in a row?
Returning to the origin
HardA symmetric random walk on the integers starts at zero. Does it return to zero with probability one, and what is the expected time to return?
The two envelopes
StandardTwo envelopes contain money, one twice the other. You open one and find 100. Swapping appears to have expected value 125. What is wrong?
The test that is usually wrong
StandardA condition affects one person in a thousand. A test detects it 99 percent of the time and has a 5 percent false positive rate. You test positive. What is the probability you have it?
Hats returned at random
StandardN people leave hats at a cloakroom and receive them back in a uniformly random order. What is the expected number of people who get their own hat?
Expected value
Topic pageRoll a die, take it or reroll
Warm-upYou roll a fair six-sided die and may either keep the value or reroll once and keep the second value. What is the optimal strategy and its expected value?
The larger of two dice
StandardTwo fair six-sided dice are rolled. What is the expected value of the larger?
Cards until the first ace
HardYou deal a shuffled 52-card deck one card at a time. What is the expected number of cards dealt before the first ace appears?
Collecting the full set
StandardA cereal brand hides one of six equally likely toys per box. How many boxes until you expect to own all six?
When to stop looking
HardYou interview n candidates in random order, learn only relative ranks, and must accept or reject each immediately. How do you maximise the chance of hiring the best one?
Gambler's ruin
StandardYou start with 10 and bet 1 per round on a fair coin, stopping at 0 or at 20. What is the probability you reach 20, and how long does the game last on average?
Uniforms until the sum passes one
HardYou draw independent uniform numbers on [0,1] and stop when their sum first exceeds 1. How many draws do you expect to make?
Brainteasers
Topic pageTwo ropes, forty five minutes
Warm-upTwo ropes each burn for exactly one hour but not at a uniform rate. Using only these, measure forty five minutes.
One hundred prisoners and one hundred boxes
HardOne hundred prisoners must each find their own number among one hundred boxes, opening at most fifty each, with no communication. All must succeed. What strategy beats 2^-100?
One thousand bottles, one poisoned
StandardOne of one thousand bottles is poisoned, and the poison acts in exactly one day. How many testers do you need to identify the bottle in a single day?
The blue-eyed islanders
HardOn an island everyone sees others' eye colour but not their own, and anyone who deduces theirs is blue must leave that night. A visitor says aloud 'at least one of you has blue eyes'. With one hundred blue-eyed islanders, what happens?
Estimate the piano tuners
StandardHow many piano tuners work in New York City?
Twelve balls, three weighings
HardTwelve identical-looking balls, one of which differs in weight, and a balance scale. Find the odd ball and whether it is heavy or light in three weighings.
Ants on a pole
StandardAnts are placed at random points on a one-metre pole, each facing a random direction, all walking at one metre per minute. When two meet they reverse. How long until the pole is clear?
Market making
Topic pageMake a market on two dice
Warm-upMake me a market on the sum of two fair dice.
The informed counterparty
StandardYou quote a market on a coin flip paying 100 for heads. Your counterparty may have seen the coin. How should your quote change?
You are long and you do not want to be
StandardYou have been lifted repeatedly and are now long well beyond your limit. What do you do with your quote?
How wide should the spread be?
HardWhat determines how wide you quote?
Price something you cannot look up
HardMake a market on the number of petrol stations in the country you are sitting in.
How much do you bet?
StandardYou have an edge: a bet wins 60 percent of the time at even money. What fraction of your capital do you stake?
Statistics
Topic pageThe third correlation
StandardA and B are 0.9 correlated, B and C are 0.9 correlated. What range is possible for the correlation of A and C?
Why the top performers disappoint
Warm-upA fund's best traders this year are usually worse next year. Does that mean the firm is failing to develop them?
How long to trust a Sharpe ratio
HardA strategy shows a Sharpe of 2 over six months. How much should that convince you?
The backtest that will not survive
StandardYou tried two hundred signal variants and kept the best. Its backtest Sharpe is 2.5. What do you actually believe?
Is this series stationary?
StandardWhy does stationarity matter before you model a price series, and what do you do about it?
The trend that reverses
StandardA strategy outperforms in every market regime measured separately but underperforms overall. How?
Why n minus one
Warm-upWhy does the sample variance divide by n-1 rather than n?
Coding
Topic pageMaximum drawdown in one pass
Warm-upGiven an array of prices in time order, compute the maximum drawdown in a single pass.
Rolling median of a stream
HardMaintain the median of the last k values of a stream efficiently.
Design a limit order book
HardWhat data structures would you use for a limit order book that must add, cancel and match quickly?
Sample from a stream of unknown length
StandardPick one element uniformly at random from a stream whose length you do not know in advance, using constant memory.
Why the loop order matters
StandardTwo implementations of matrix multiplication have identical complexity but one runs several times faster. Why?
Price an option by simulation
StandardHow would you price a European call by Monte Carlo, and how do you make the error small enough to be useful?
The bug that only shows up in production
Warm-upWhy should you not sum prices as floating point, and what do you do instead?
Where do these problems come from?
They are written from the widely published interview canon: the probability, expected value, market making, statistics and algorithm questions that circulate in books, university problem sets and public forums. None is taken from a firm's actual interview paper, and none is presented as insider material. The value is in the worked reasoning and in knowing what each question is testing.
After the practice
- How each firm interviews
Stage by stage, firm by firm, so you know which of these topics to weight.
- Check your fit for a specific advert
Paste the advert and your background, get a prep plan pointed at the gaps.
- Open roles
Live vacancies at quant firms, filtered by function and city.