Hedge Funds puzzles, solved step by step
- Puzzles
- 100
- Traced to a firm
- 38
- Topics
- 14
- Hard
- 30
003X and Y are independent and each uniform on 0 to 1. What is the probability that X + Y is less than 1.5, and what shape is the density of X + Y?CitadelChicago · 2025
Try it first
Pick before you draw anything.
Show the worked solution
The probability is 7/8, and the density of X + Y is a triangle, a tent peaking at 1. Because X and Y are independent and uniform, every point of the unit square is equally likely, so probability is area. The line x + y = 1.5 slices off a corner triangle with legs of 0.5, area 1/8. The sum's density rises in a straight line from 0 to 1 and falls back to 0 at 2.
Why does probability become area here?
Throw a dart at a square board so that every point is equally likely to be hit. The chance it lands in a region is that region's share of the board. Two independent uniforms are exactly that dart: the pair (X, Y) lands evenly on the unit square, so any question about X and Y becomes a question about an area. The condition X + Y below 1.5 is everything under the line x + y = 1.5, which is the whole square except one corner.
The line x + y = 1.5 removes a corner triangle of area 1/8 from the unit square, so X + Y is below 1.5 with probability 7/8, and the density of X + Y is a tent on 0 to 2 whose tail beyond 1.5 also has area 1/8. How do you get the shape of the sum's density?
Slide the line x + y = s across the square and watch how long it is inside. Near s = 0 it barely clips the corner; at s = 1 it runs corner to corner, the longest it gets; past 1 it shortens again. The density of the sum at s is proportional to the length of that line inside the square, which gives a triangle rising from 0 to a peak at 1 and falling to 2. This is the convolutionThe density of a sum of independent variables, found by adding up every way the two parts can combine to the same total. of two flat densities, and the same reason two dice most often total 7.
The relationshipf_{X+Y}(s) the density of the sum at the value s f_Y(s - x) equal to 1 when s - x lies between 0 and 1, otherwise 0 What it says in wordsAdd up every split of s into an x and a y that both lie in 0 to 1; the count of splits rises to s = 1 and then falls.Check the first answer with the tent. The area beyond 1.5 is a triangle with base 0.5 and height 0.5, which is 1/8 again. Two routes that agree is the check an interviewer wants to hear before you commit. Add a third uniform and the density becomes three joined curved pieces; add many and the sum looks normal, which is the central limit theorem arriving in slow motion.
Where candidates lose it
Candidates reach for a double integral before drawing, set the limits wrongly, and spend two minutes on what is a one-line area argument. Draw the square first; the corner triangle is visible at a glance.
The second loss is saying the sum of two uniforms is uniform on 0 to 2. It is not: there is only one way to get a sum near 0 and many ways to get a sum near 1, which is why the density is a tent and not a flat line.
What the interviewer asks next
- What is the probability that X + Y is less than 0.5?
- What is the probability that the larger of X and Y is below 0.5, and how does the picture change?
- What does the density of X + Y + Z look like?
Asked at Citadel, Quant Research Interview, Chicago, 2025 (Wall Street Oasis):
He was asking some questions about the probability, especially on the convolution.
015Under a normal model with 1% daily volatility, how often should a move of 4% or more in either direction happen? You have seen two such days this year. What do you conclude?Quant and systematic fundsProp and quant trading firms
Try it first
How often does the normal model expect a 4% day?
Show the worked solution
The normal model expects a 4% day about once every 63 years, so two in one year says the model is wrong, not that you were unlucky. A 4% move is four standard deviations, and the normal puts about 0.0063% of days beyond that in either direction, 0.016 such days a year. Under the model, two in a year has a chance of roughly 1 in 7,933. Real returns have fatter tails and volatility that clusters.
How rare is four standard deviations under a normal curve?
Adult heights are roughly normal. Someone four standard deviations above the average is so rare that you could meet many thousands of people without seeing one. The normal tail thins faster than exponentially, so each extra standard deviation makes an event far rarer: beyond 2 is about 1 day in 22, beyond 3 about 1 in 370, beyond 4 about 1 in 15,787. With 1% daily volatility, a 4% day is a four standard deviation day.
Under a normal model with 1% daily volatility, moves beyond 4% in either direction cover only 0.0063% of days, about 0.016 days a year or one every 63 years, so seeing two in a single year points to a model with tails that are too thin. The relationshipZ the daily return divided by its 1% volatility \Phi the standard normal cumulative distribution 252 trading days in a year What it says in wordsTwo thin tails times the number of trading days gives the expected count of 4% days a year.What do two such days in a year actually tell you?
Work out how surprising the evidence is under the model. With 0.016 expected a year, two or more has a probability of about 1 in 7,933 under the normal model, so either this was an extraordinarily rare year or the model is wrong, and the second is far more likely. Market returns have fatter tails than the normal and volatility that comes in clusters, so a 1% volatility estimated over calm months understates risk once the market turns. The honest conclusion is to re-estimate volatility with recent data and stop quoting tail odds from the normal curve.
What does a risk manager do with this?
Two things. Replace the normal tail with something that respects the data, a fatter-tailed distribution or historical scenarios, and let the volatility estimate react faster, for example by weighting recent days more heavily. Then ask the more useful question for the book: not how likely a 4% day is, but what the book loses if it happens twice in a month. A risk limit calibrated on the normal model is exactly the number this evidence has just discredited.
Where candidates lose it
Candidates compute the rarity correctly and then conclude the year was unlucky. That is the wrong way round: when an event the model calls once in 63 years happens twice in one, the evidence is against the model, not against the market.
The other slip is using one tail. A move of 4% in either direction means both tails, which doubles the probability; one tail alone gives about once in 125 years.
What the interviewer asks next
- Under the same model, how often should a 3% day occur?
- If volatility is really 1.5%, how often is a 4% day?
- How would you estimate volatility so that it reacts quickly to a change of regime?
028A stick is broken at two points chosen independently and uniformly at random along its length. What is the probability that the three pieces can form a triangle?Quant and systematic fundsProp and quant trading firms
Try it first
Where does the answer land?
Show the worked solution
One in four. Three lengths make a triangle only if no piece is longer than the other two together, which for a stick of length 1 means no piece is longer than one half. Plot the two break points as a dot in the unit square. The dots that keep every piece under half fill two triangles of area 1/8 each, so the chance is 1/4.
What exactly has to be true for a triangle?
Try to make a triangle from three sticks where one is longer than the other two laid end to end: the short ones cannot reach each other across the long one. Three lengths form a triangle only if the longest is shorter than the sum of the other two, and with a total of 1 that means every piece must be under one half. That turns a geometry question into a single condition you can test on any pair of break points.
How do you turn two random breaks into an area?
Call the break points x and y, each uniform between 0 and 1. Every possible outcome is a dot in the unit square, and every dot is equally likely, so probability is area. Take the half where x is below y: the pieces are x, y minus x and 1 minus y, and all three are under half only when x is below 1/2, y is above 1/2 and y minus x is below 1/2. Those three lines cut out a triangle with corners (0, 1/2), (1/2, 1/2) and (1/2, 1), area 1/8. The half where y comes first gives its mirror image, another 1/8.
Each dot in the square is one pair of break points; only the two green triangles, each of area 1/8, keep every piece shorter than half the stick, so a triangle forms with probability 1/4. The red regions are also worth naming, because each one is a different piece being too long. Three failure regions of area 1/4 each are the first piece, the middle piece and the last piece exceeding half. They cannot overlap, since two pieces cannot both be longer than half, so the answer is 1 minus 3/4, which is 1/4, a second route to the same number.
Mention the variant, because interviewers often switch to it: break the stick once, then break the longer piece at a random point. The answer changes to about 0.386, which is 2 ln 2 minus 1, because the second break is no longer uniform over the whole stick. Knowing the setup changes the answer shows you are reading the question.
Where candidates lose it
The usual loss is guessing from symmetry, 1/2 or 1/3, without writing the condition. Once you say no piece may exceed half, the square and the area come quickly.
The second loss is solving only the case where x is left of y, getting 1/8 and forgetting the mirror half. Either break point is equally likely to be the left one, so the good region always comes in two pieces.
What the interviewer asks next
- Break the stick once, then break the longer piece at a random point. What is the chance now?
- What is the expected length of the longest piece?
- What is the probability that the three pieces form an acute triangle?
041Two orders arrive one after the other. The first arrives after a wait that is exponential with a mean of one minute; the second arrives after a further, independent exponential wait with the same mean. What is the probability that both have arrived within one minute?CitadelChicago · 2025
Try it first
Your estimate:
Show the worked solution
1 minus 2/e, about 26.4%. The total wait is the sum of two independent exponential waits. Convolving the two densities gives t e^-t, a gamma shape that starts at zero because two steps cannot both be instant. Its area from 0 to 1 is 1 minus e^-1 (1 + 1), which is 1 minus 2/e. A second route: it is the chance that a Poisson process with rate 1 produces at least two arrivals in one minute.
Why is this not the chance of one wait, squared?
Squaring would be right if both orders were racing from the same start line. Here they queue: the second clock only starts when the first order lands. It is like two buses where you must take the first to reach the stop for the second. The event is that the sum of the two waits is under one minute, which is stricter than each wait being under one minute. The chance one wait is under a minute is 1 minus 1/e, about 63%; squaring gives 40.0%, which answers a different question.
How do you get the density of the sum?
Add up every way to split the total t between the two waits. The density of a sum of independent waits is the convolutionThe density of a sum of two independent variables, found by integrating one density against the other shifted over every possible split of the total. of their densities, and for two exponentials it is t e^-t. Every split of t into s and t minus s has density e^-s times e^-(t minus s), which is e^-t whatever s is, and there is a length t of possible splits. Integrate t e^-t from 0 to 1 by parts and you get 1 minus 2/e.
The total of two independent one-minute exponential waits has density t e^-t, which starts at zero and peaks at one minute, so only 26.4% of its area, 1 minus 2/e, lies below one minute. The relationshipX1, X2 the two independent exponential waits, each with mean one minute t e^-t the density of their sum, from convolving the two exponential densities What it says in wordsThe chance the total wait is under a minute is the area under the gamma density up to one minute.Check it with counting. Exponential waits are the gaps of a Poisson process, so both orders arrive within a minute exactly when the process makes at least two arrivals in that minute. With one arrival expected per minute, the chance of zero is e^-1 and of exactly one is e^-1, so at least two is 1 minus 2/e, the same number. Say both routes and the interviewer will usually skip ahead.
Where candidates lose it
The common loss is squaring the single-wait probability, which answers the question of two independent orders racing in parallel. Read the setup again: one after the other means the waits add.
The second loss is freezing on the convolution integral. If the integral will not come, switch to the Poisson count: at least two arrivals in one minute. Candidates who know one route and not the other are the ones interviewers push hardest.
What the interviewer asks next
- What is the probability that three orders in sequence all arrive within two minutes?
- Given that both orders arrived within one minute, what is the expected arrival time of the first?
- The two waits have means of one and two minutes. What is the density of their sum?
Asked at Citadel, Quant Research Interview, Chicago, 2025 (Wall Street Oasis):
if i knew this was about convolutions, i would have answered better.
053Two independent numbers are drawn uniformly at random between 0 and 1. What is the expected value of the smaller one, and of the larger one?Quant and systematic fundsProp and quant trading firms
Try it first
What is the expected value of the smaller of the two draws?
Show the worked solution
The smaller draw averages 1/3 and the larger averages 2/3. Two random points cut the stretch from 0 to 1 into three pieces, and nothing distinguishes one piece from another, so each has expected length 1/3. The minimum ends the first piece and the maximum ends the second. The two averages add to 1, as they must, because the minimum plus the maximum is just the sum of the two draws.
What is the one-line argument?
Imagine two friends who each arrive at a random minute within the same hour. The wait until the first arrival, the gap between the two arrivals and the time from the second arrival to the end of the hour are three stretches of time. No stretch is special, so each averages a third of the hour, and the first friend arrives, on average, 20 minutes in. The same symmetry puts the minimum of two uniform draws at 1/3 and the maximum at 2/3.
The diagonal splits the square of possible draws into two mirror-image halves; the density of the smaller draw falls in a straight line from 2 at zero to 0 at one with its average at 1/3, and the density of the larger draw mirrors it with its average at 2/3. How do you check it with a calculation?
Work from the chance that the minimum sits above some level x. Both draws must be above x, which happens with probability (1 - x) squared. For a quantity that cannot be negative, the average equals the area under its chance of exceeding each level, and the area under (1 - x) squared from 0 to 1 is 1/3. The maximum then follows without a second integral: minimum plus maximum equals X plus Y, which averages 1, so the maximum averages 2/3.
The relationshipP(min > x) the chance both draws exceed x, (1 - x) squared E[min] the expected value of the smaller draw E[max] the expected value of the larger draw What it says in wordsIntegrate the chance that the minimum clears each level to get its average, then use min plus max equals the sum of the draws.Where does the pattern lead next?
With n draws, the points cut the interval into n + 1 pieces, so the smallest averages 1/(n + 1) and the largest n/(n + 1). The ordered values of uniform draws are evenly spaced on average, and that single fact answers a whole family of follow-ups. With ten bids drawn at random across a range, the highest averages 10/11 of the way up. The quick route here is also the one to say first: the order statisticsThe draws sorted from smallest to largest: the minimum is the first order statistic, the maximum the last. of uniform draws split the interval evenly.
Where candidates lose it
The common wrong answer is 1/4, reached by reasoning that the smaller draw lies in the bottom half and so sits at the middle of it. The smaller draw is not confined to the bottom half; it only has to be below the other draw, and it lands above 0.5 a quarter of the time.
The second loss is grinding through the integral in silence and never giving the symmetry argument. Say the three-pieces picture first, then offer the integral as the check.
What the interviewer asks next
- What is the expected distance between the two draws?
- With three draws, what is the expected value of the middle one?
- What is the probability that the smaller draw is below 0.5?
067Daily returns are normal with 1% volatility on 80% of days and normal with 4% volatility on the other 20%, both with zero mean. What are the overall daily volatility and the kurtosis of this mixture?Two SigmaNew York · 2025
Try it first
What is the overall daily volatility of the mixture?
Show the worked solution
Overall volatility is 2% a day and the kurtosis is 9.75, against 3 for a normal distribution. Variances mix in proportion: 0.8 x 1 + 0.2 x 16 = 4, so volatility is 2%. Fourth moments mix the same way, and each normal contributes 3 times its volatility to the fourth: 0.8 x 3 + 0.2 x 768 = 156. Dividing by the variance squared, 16, gives 9.75.
Why is a mixture of normals not normal?
Think of a commute that takes 30 minutes on most days and two hours on strike days. The average trip hides the shape: most days cluster tightly and a few days sit far out. Mixing a calm regime with a wild one gives more small moves than a normal with the same overall spread, fewer medium ones, and far more big ones. The peak is taller, the shoulders thinner and the tails fatter, which is what {term('kurtosis', 'The fourth moment of a distribution divided by the variance squared; 3 for a normal distribution, higher when tails are fatter.')} measures.
How do you get the two numbers?
Work with moments, because they mix in proportion to the weights. The variance is 0.8 x 1 + 0.2 x 16 = 4, so volatility is 2%; the fourth moment is 0.8 x 3 x 1 + 0.2 x 3 x 256 = 2.4 + 153.6 = 156, and kurtosis is 156 / 4 squared = 9.75. Look at where the 156 comes from: 153.6 of it is the wild days, which occur only one day in five. The fourth power makes rare large moves dominate.
The relationshipw_i the share of days in each regime, 0.8 and 0.2 sigma_i the volatility in each regime, 1% and 4% 3 sigma_i^4 the fourth moment of a zero-mean normal with volatility sigma_i What it says in wordsAverage the second and fourth moments across regimes, then divide the fourth moment by the variance squared.Against a normal with the same 2% volatility, the mixture has a taller peak, thinner shoulders and fatter tails: a daily move beyond 6% either way happens on 2.7% of days under the mixture but only 0.27% under the normal, about 10 times as often. What does this mean for a risk model?
A model that fits a normal to the 2% volatility is right about the average day and wrong about the days that matter. It says a move beyond 6% happens on about 0.27% of days, roughly once in 370 trading days; the mixture says 2.7%, roughly once in 37. That is the usual story of market returns: calm stretches and volatile stretches, each close to normal, adding up to fat tails. A model that lets volatility change over time captures much of it.
Where candidates lose it
The first slip is averaging the volatilities, 0.8 x 1% + 0.2 x 4% = 1.6%. Variances average in a mixture, not standard deviations, so the answer is 2%.
The second is guessing that a mixture of normals has kurtosis 3 because each piece does. Mixing different variances always pushes kurtosis above 3, and here the fourth-power weight on the wild days takes it to 9.75.
What the interviewer asks next
- What mixture weight on the 4% regime maximises the kurtosis?
- What is the probability density of the mixture at zero, compared with the normal?
- If the two regimes had different means but the same volatility, what would happen to skew and kurtosis?
Asked at Two Sigma, Quantitative Research, New York, 2025 (Wall Street Oasis):
They asked a couple questions involving Mixture Gaussians (e.g., probability density and moments).
078Two traders each arrive at a random time between 9:00 and 10:00, independently, and each waits 15 minutes for the other before leaving. What is the probability that they meet?Quant and systematic fundsProp and quant trading firms
Try it first
Pick the closest answer before drawing anything.
Show the worked solution
7/16, about 43.8%. Plot one trader's arrival on each axis of a 60 by 60 minute square. They meet when the arrivals are within 15 minutes, a band around the diagonal. They miss in the two corner triangles, each 45 by 45 over two, which together cover 45 squared over 60 squared, or 9/16. So they meet 1 minus 9/16, which is 7/16 of the time.
Why turn two arrival times into a square?
Think of two friends who say they will meet at a cafe sometime in the lunch hour. Every possible pair of arrival times is one point: the first friend's time across, the second's up. Because both times are uniform and independent, every point in the square is equally likely. A probability question about two uniform times becomes an area question, and the areas of triangles need no calculus.
Each pair of arrival times is a point in a 60 by 60 minute square; the traders meet in the green band within 15 minutes of the diagonal and miss in the two grey corners, which cover 2,025 of 3,600 square minutes, so they meet with probability 7/16, or 43.75%. How do you get the area without integrating?
Find the region where they miss, because it is two clean triangles. They miss when A arrives more than 15 minutes after B, or B more than 15 minutes after A. Each miss region is a right triangle with legs of 45 minutes, so each covers 45 x 45 / 2 = 1,012.5 square minutes out of 3,600. Together that is 2,025 out of 3,600, or 9/16, and the band where they meet is the remaining 7/16.
The relationshipw how long each trader waits, here 15 minutes 60 the length of the arrival window in minutes What it says in wordsThe chance of meeting is one minus the two corner triangles, which fit together into a square of side 45 minutes.How does the answer move with the waiting time?
The formula shows the shape. Waiting 30 minutes gives 1 minus (30/60) squared, which is 75%, not double 7/16. The chance rises quickly at first and then flattens, because the band is squeezed at the ends of the hour, where someone arriving at 9:55 has only 5 minutes left to be joined. The same geometry answers questions about two orders arriving within a latency window, or two news releases landing in the same trading hour.
Where candidates lose it
The fast wrong answers are 1/4, from 15 over 60, and 1/2, from doubling it because either trader can wait. Both ignore that the window is clipped at 9:00 and 10:00, where a late arrival has less time left to be joined.
The other slip is computing the corner area correctly and then giving 9/16 as the answer. Say out loud which region you computed, miss or meet, before you give the number.
What the interviewer asks next
- If one trader waits 15 minutes and the other only 5, what is the probability they meet?
- What is the expected gap between the two arrival times?
- How would the answer change if arrivals were more likely near 9:30 than at the edges of the hour?
