Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
Explore NISM prep
Series-I · Currency DerivativesSeries-II-A · RTAs (Corporate)Series-II-B · RTAs (Mutual Fund)Series-III-A · Compliance (Non-Fund)Series-III-C · Compliance (Fund)Series-IV · Interest Rates DerivativesSeries-V-A · Mutual Fund DistributorsSeries-V-B · Mutual Fund FoundationSeries-V-D · SIF DistributorsSeries-VI · Depository OperationsSeries-VII · Operations & Risk ManagementSeries-VIII · Equity DerivativesSeries-IX · Merchant BankingSeries-X-A · Investment Adviser (Level 1)Series-X-B · Investment Adviser (Level 2)Series-XII · Securities Markets FoundationSeries-XV · Research AnalystSeries-XVI · Commodity DerivativesSeries-XVII · Retirement AdviserSeries-XIX-A · Category I & II AIF DistributorsSeries-XIX-B · Category III AIF DistributorsSeries-XIX-C · AIF ManagersSeries-XIX-D · Category I & II AIF ManagersSeries-XIX-E · Category III AIF ManagersSeries-XXI-A · PMS DistributorsSeries-XXI-B · Portfolio ManagersSeries-XXIII · Social Impact AssessorsSeries-XXIV · AML & CFT in Securities Markets
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryInvestment Banking Analyst
Private Equity AnalystQuant & Hedge Fund AnalystBreaking Into VCFinancial Analyst Program
Risk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Free Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
QuarksCourses
Explore Interview Preparation
Investment BankingEquity ResearchVenture CapitalistPrivate EquityHedge Funds
QuantFinancial AnalysisPrivate Wealth ManagementDebt Capital MarketsRisk Management
Derivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Interview tracksAll
1Investment Banking
Question bankPuzzlesCase studies
2Equity Research
Question bankPuzzlesCase studies
3Venture Capital
Question bankPuzzlesCase studies
4Private Equity
Question bankPuzzlesCase studies
5Hedge Funds
Question bankPuzzlesCase studies
6Quant
Question bankPuzzlesCase studies
7Financial Analysis
Question bankPuzzlesCase studies
8Private Wealth Management
Question bankPuzzlesCase studies
9Debt Capital Markets
Question bankPuzzlesCase studies
10Risk Management
Question bankPuzzlesCase studies
11Derivatives Foundation
Question bankPuzzlesCase studies
12Portfolio Management
Question bankPuzzlesCase studies
13Mutual Fund Mastery
Question bankPuzzlesCase studies

Quant puzzles, solved step by step

Puzzles
100
Traced to a firm
71
Topics
12
Hard
30
Topic
All topicsLogic and algorithmic reasoning10Conditional probability and Bayes7Counting and combinatorics8Continuous and geometric probability9Correlation, regression and linear algebra9Market making, betting and sizing9Expected value and optimal stopping9Statistics and estimation9Pricing, options and index maths7Games and strategic reasoning8Markov chains and random walks7Mental maths and number sense8
Level
AnyWarm upCoreHard
Source
AnyReported at a firmStandard
Showing 1–4 of 4 · filtered from 100Clear filters
  1. 020A broad stock index has returned an average of 11% a year over the past 30 years, with an annual standard deviation of 16% (illustrative figures). Assuming yearly returns are independent, give a 95% confidence interval for its true expected annual return.Statistics and estimationCoreOld Mission CapitalChicago · 2025

    Try it first

    Roughly how wide is the 95% interval?

    Show the worked solution

    About 5.3% to 16.7%. The standard error of a 30-year average is 16% divided by the square root of 30, 2.92 points. A 95% interval is 1.96 standard errors either side: 11% plus or minus 5.7. With a t value for 29 degrees of freedom it is a touch wider, plus or minus 6.0. Thirty years of data still leave the expected return very uncertain.

    Why is the band so wide after thirty years?

    Imagine judging a new cricketer's true batting average from a handful of innings. Scores swing wildly from one innings to the next, so a few innings tell you little. The precision of an average grows only with the square root of the number of observations, and yearly returns swing by 16 points, so 30 years give a standard error of about 2.9 points. That is large next to an average of 11%: the true figure could plausibly be 6% or 16%.

    Thirty years pins the average return only to within about 6 points11% sample average10 years1.1%20.9%+/- 9.9 points30 years5.3%16.7%+/- 5.7 points120 years8.1%13.9%+/- 2.9 points0%5%10%15%20%Half width = 1.96 x 16% / square root of years
    Around an 11% average with 16% annual volatility, the 95% interval is plus or minus 9.9 points with 10 years of data, 5.7 points with 30 years and still 2.9 points with 120 years, because precision grows only with the square root of the sample.

    How do you set it up in the room?

    State the assumption, then compute. Treat the 30 annual returns as independent draws with a standard deviation of 16%, so the sample average has a standard error of 16 over root 30. Root 30 is about 5.48, so the standard error is 2.92. Multiply by 1.96: 5.73. The interval is 5.3% to 16.7%. If the interviewer pushes, note that with only 30 observations a t distributionThe distribution used for an average when the standard deviation is estimated from the same small sample; it has fatter tails than the normal. with 29 degrees of freedom gives a multiplier of about 2.045, widening the band slightly.

    The relationship
    rˉ±1.96 σn=11%±1.96×16%30=11%±5.7%  ⇒  [5.3%, 16.7%]\bar r \pm 1.96\,\frac{\sigma}{\sqrt n} = 11\% \pm 1.96 \times \frac{16\%}{\sqrt{30}} = 11\% \pm 5.7\% \;\Rightarrow\; [5.3\%,\ 16.7\%]
    \bar rthe average annual return, 11%
    \sigmathe annual standard deviation, 16%
    nthe number of yearly observations, 30
    What it says in wordsThe interval is the average plus or minus 1.96 standard errors, and the standard error is volatility over the square root of years.

    What limitation should you add?

    Halving the band needs four times the data: 120 years still only pins the average to within about 2.9 points, and markets change over such spans. Returns are also not quite independent from year to year, fat tails make the normal multiplier optimistic, and the arithmetic average overstates the compound growth rate. The practical lesson is that expected returns are the hardest input in finance to estimate, far harder than volatility, which is why many quant processes lean on risk estimates and treat return forecasts with caution.

    Where candidates lose it

    The common mistake is using 16% as the width, the spread of a single year, rather than the standard error of the average. That gives an interval from -20% to 42%, which describes one year's return, not the long-run mean.

    The opposite slip is dividing by 30 instead of the square root of 30, which gives a band of about 1 point and badly overstates what the data can tell you.

    What the interviewer asks next

    • How many years of data would you need to pin the mean to within plus or minus 1 point?
    • How would monthly data change the interval for the mean?
    • Why is volatility much easier to estimate than the mean from the same data?

    Asked at Old Mission Capital, Prop Trading, Chicago, 2025 (Wall Street Oasis): Confidence interval on S&P 500 return past 30 years

  2. 041Five observations come from a uniform distribution on 0 to theta: 3.1, 7.4, 5.2, 9.0 and 1.8. What is the maximum likelihood estimate of theta, is it biased, and how would you correct it?Statistics and estimationCoreACAQR Capital ManagementTown of Greenwich · 2022

    Try it first

    What is the maximum likelihood estimate of theta?

    Show the worked solution

    The MLE is 9.0, the largest observation; it is biased low, and multiplying by (n + 1)/n = 6/5 gives an unbiased 10.8. Each observation has density 1/theta when theta covers it, so the likelihood is theta to the minus 5 for theta at least 9.0 and zero below. That peaks at 9.0. But the sample maximum averages 5/6 of theta, never above it, so scale it up by 6/5.

    Why does the likelihood peak at the largest observation?

    Suppose raffle tickets are numbered 1 to N and you see five, the highest being 90. N cannot be below 90, and the smaller N is, the more likely it was to produce those particular five tickets. For a uniform on 0 to theta, each observation has density 1/theta, so the likelihood is theta to the minus 5, which only falls as theta grows, but it is zero for any theta below an observation. The best allowed value is the smallest theta that covers all the data: the maximum, 9.0. Calculus does not help here, because the peak sits at the edge where the likelihood jumps from zero.

    The likelihood is zero below the largest observation and falls after itzero: some observation would exceed thetapeak at theta = 9.0: the MLE40% of peak at 10.824% of peak at 12thetaL(theta) = theta to the power -5, for theta at least 9.0The data and three estimates on one line0246810121416MLE 9.02 x mean = 10.66/5 x 9.0 = 10.8unbiased, and much tighter
    The likelihood is zero for theta below 9.0, peaks at 9.0 and then falls as theta to the minus 5, down to 40% of the peak at 10.8; on the data line, the MLE of 9.0 sits at the largest observation, the method of moments gives 10.6 and the bias-corrected estimate is 10.8.

    Why is 9.0 biased, and what is the right correction?

    The sample maximum can never exceed theta, so it can only err on the low side. Five points drop into 0 to theta and cut it into six gaps of the same average size, so the largest point sits on average one gap short of theta: at 5/6 of theta. Scaling the maximum by (n + 1)/n removes that bias: 9.0 x 6/5 = 10.8. The same logic underlies the classic serial-number estimation problem from wartime production counts.

    The relationship
    L(θ)=θ−5 1{θ≥9.0}E[max⁡]=nn+1θ  ⇒  θ^=65×9.0=10.8L(\theta) = \theta^{-5}\,\mathbf{1}\{\theta \ge 9.0\} \qquad E[\max] = \frac{n}{n+1}\theta \;\Rightarrow\; \hat\theta = \frac{6}{5}\times 9.0 = 10.8
    thetathe unknown upper end of the uniform
    n = 5number of observations
    maxthe largest observation, 9.0
    What it says in wordsThe likelihood peaks at the sample maximum, which on average falls short of theta by a factor n/(n + 1), so scale it up.

    An interviewer may ask why not use twice the mean, 2 x 5.3 = 10.6, which is also unbiased. The corrected maximum is far more precise: its variance is theta squared over n(n + 2), against theta squared over 3n for twice the mean, so twice the mean is 2.3 times as variable with five points. Twice the mean can even land below the largest observation, an estimate the data have already ruled out. The limitation of the correction is that unbiased is not the only goal: the multiple of the maximum with the smallest mean squared error is (n + 2)/(n + 1), which gives 10.5 here, and saying you would choose by the loss that matters shows you know the trade.

    Where candidates lose it

    The common loss is setting the derivative of the log-likelihood to zero, getting -5/theta = 0, and concluding there is no maximum. The maximum is at a boundary, where the indicator switches on, and that is the point of the question.

    The second is answering 9.0 and stopping. The follow-up is always the bias; say that the maximum sits below theta on average and give the (n + 1)/n correction with its one-line reason.

    What the interviewer asks next

    • What is the MLE if the distribution is uniform on theta to 2 theta?
    • Derive the variance of the corrected estimator.
    • The observations come from a uniform on theta minus 1 to theta plus 1. What is the MLE now?

    Asked at AQR Capital Management, Trading, Town of Greenwich, 2022 (Wall Street Oasis): Derive the mle for some given distribution. Explain linear regression intuitively and derive the ols estimate.

  3. 088A strategy's true annualised Sharpe ratio is 1.0. Roughly how many years of returns do you need before a t-test rejects a zero mean at about the 5% level? What if the Sharpe ratio is 0.5?Statistics and estimationCoreViking Global InvestorsNew York · 2014

    Try it first

    How many years does a Sharpe 0.5 strategy need?

    Show the worked solution

    About 4 years at a Sharpe of 1, and about 16 years at 0.5. The t-statistic for a mean return is the Sharpe ratio times the square root of the number of years, so reaching t = 2 needs (2 / SR)^2 years. Halving the Sharpe ratio quadruples the evidence you need, and sampling daily instead of yearly does not shorten it.

    Why does the t-statistic come out as Sharpe times root years?

    A t-test on a mean divides the average return by its standard error, which is the volatility over the square root of the number of observations. With annual observations that ratio is (mean / volatility) x sqrt(years), and mean over volatility is exactly the annual Sharpe ratio. So a Sharpe of 1 gives t = sqrt(years): 2 after 4 years. A Sharpe of 0.5 gives t = 0.5 x sqrt(years): 2 only after 16 years. With the textbook 1.96 in place of 2 the numbers are 3.8 and 15.4 years; the round figures are what you say in the room.

    Halve the Sharpe ratio and you need four times as many yearst = 2, roughly the 5% bar4 years16 yearsSharpe 1.0Sharpe 0.5051015201234t-statisticyears of returnst = SR x sqrt(years)years =(2 / SR)^2SR 1: 4SR 0.5: 16
    The t-statistic equals the Sharpe ratio times the square root of years, so a Sharpe of 1 reaches t = 2 after 4 years and a Sharpe of 0.5 only after 16: halving the Sharpe quadruples the track record you need.
    The relationship
    t=rˉσ/N=SR⋅Nyears    ⇒    Nyears=(2SR)2t = \frac{\bar r}{\sigma/\sqrt{N}} = \text{SR}\cdot\sqrt{N_{\text{years}}} \;\;\Rightarrow\;\; N_{\text{years}} = \left(\frac{2}{\text{SR}}\right)^2
    r barthe average annual return in excess of cash
    sigmathe annual volatility
    Nthe number of years observed
    SRthe annual Sharpe ratio, r bar over sigma
    What it says in wordsThe evidence for a real edge grows with the square root of time, scaled by the Sharpe ratio.

    Can you shortcut it with daily data?

    This is the follow-up that separates candidates. Sampling daily gives about 252 times as many observations a year, but the daily Sharpe ratio is smaller by the square root of 252, because daily mean scales with time and daily volatility with its square root. The two effects cancel exactly, so the t-statistic depends on calendar time, not on how finely you slice it. Think of estimating a river's average level: measuring every minute instead of every day does not help if the river's slow swings are the uncertainty.

    What makes the real requirement even longer?

    Three things, each worth one sentence. Returns are not independent from year to year, and positive autocorrelation inflates the true standard error. If you tested twenty strategies and kept the best, a t of 2 is easy to get by luck, so the bar has to rise with the number of ideas tried. And the Sharpe ratio itself drifts as markets change, so a sixteen-year record may be measuring two different strategies. A desk that says a Sharpe 0.5 strategy is proven after three years is reading noise.

    Where candidates lose it

    The first loss is scaling linearly: a Sharpe half as big needs twice as long, so 8 years. The t-statistic grows with the square root of time, so the years scale with the square of 1/Sharpe, and 16 is right.

    The second loss is proposing daily data as the fix. The number of observations goes up but the per-observation Sharpe goes down by the square root of that factor, and the two cancel.

    What the interviewer asks next

    • How many years does a Sharpe of 2 need, and why do high-frequency desks care?
    • If you tested 50 strategies, roughly what t-statistic would you demand of the best one?
    • How does positive autocorrelation in monthly returns change the answer?

    Asked at Viking Global Investors, Quantitative Research, New York, 2014 (Wall Street Oasis): how to reject a hypothesis test, what's your structure of your code, what's the sample size

  4. 098Two traders' monthly P&L are independent and normal. A has mean Rs 10 lakh and standard deviation Rs 3 lakh; B has mean Rs 8 lakh and standard deviation Rs 4 lakh. What is the probability that A out-earns B in a given month?Statistics and estimationCoreDRWLondon · 2025

    Try it first

    Pick the probability that A earns more than B in a month.

    Show the worked solution

    About 65.5%. The gap A - B is normal with mean 10 - 8 = Rs 2 lakh and variance 3^2 + 4^2 = 25, so its standard deviation is Rs 5 lakh. A out-earns B when the gap is positive, and zero sits 2/5 = 0.4 standard deviations below the mean, so the probability is Phi(0.4), about 65.5%. The better trader loses about one month in three.

    Why do the variances add when you subtract?

    You and a colleague set off for the same meeting from different places, and each journey is uncertain by a few minutes. The gap between your two arrival times is more uncertain than either journey, not less, because either of you can be the late one. Subtracting an independent random amount adds its noise, so Var(A - B) = Var A + Var B = 9 + 16 = 25, and the gap's standard deviation is 5, not 1. The mean subtracts as you would expect, 10 - 8 = 2. The gap is normal because a difference of independent normals is normal.

    Subtracting adds noise: the gap A - B has mean 2 and sd 5-505101520A: 10, sd 3B: 8, sd 4monthly P&L, Rs lakh-10-5051015A wins:65.5%B wins: 34.5%mean 2, sd sqrt(9 + 16) = 5gap A - B, Rs lakh; zero is 0.4 sd below the mean
    The two traders' monthly P&L overlap heavily, and the gap A - B has mean 2 and standard deviation 5, so the area above zero where A wins is only 65.5%, leaving B ahead in 34.5% of months.
    The relationship
    A−B∼N ⁣(μA−μB,  σA2+σB2)=N(2, 25),P(A>B)=Φ ⁣(25)=Φ(0.4)≈0.655A - B \sim N\!\left(\mu_A - \mu_B,\; \sigma_A^2 + \sigma_B^2\right) = N(2,\, 25), \qquad P(A > B) = \Phi\!\left(\frac{2}{5}\right) = \Phi(0.4) \approx 0.655
    mu_A, mu_Bthe mean monthly P&L, 10 and 8
    sigma_A, sigma_Bthe standard deviations, 3 and 4
    Phithe standard normal cumulative distribution
    What it says in wordsThe gap's mean is the difference of the means, its variance the sum of the variances, and the answer is how many standard deviations zero sits below that mean.

    How much does a longer comparison window help?

    A lot, and at a predictable rate. Over a quarter of independent months the total gap has mean 6 and standard deviation 5 x sqrt(3), about 8.7, so A comes out ahead with probability 75.6%. Over a year the mean is 24 and the standard deviation 5 x sqrt(12), about 17.3, so the probability is 91.7%. The edge grows with the number of months and the noise with its square root, so the z-score grows with the square root of time. A risk manager who ranks traders on one month of P&L is ranking mostly noise.

    What if the two traders' P&L are correlated?

    Then the shared part cancels in the gap. With correlation 0.5, the variance is 9 + 16 - 2 x 0.5 x 3 x 4 = 13, a standard deviation of 3.61, and A wins with probability 71.0%. Positive correlation makes the comparison sharper because common market moves drop out of the difference; negative correlation does the opposite. The limitation is the normal assumption: real P&L has fat tails and skew, and if one trader earns through rare large months, the month-by-month win rate can disagree with the mean, so check the shape before trusting the 65.5%.

    Where candidates lose it

    The commonest slip is subtracting the standard deviations, 4 - 3 = 1, which makes A look almost certain to win at 97.7%. Noise does not cancel when you subtract independent variables; it adds.

    The second loss is subtracting the variances, 16 - 9, or adding the standard deviations, 3 + 4. Square, add, then take the root: sqrt(9 + 16) = 5. The answer is then a z-score of 0.4, and Phi(0.4) is about 0.655.

    What the interviewer asks next

    • What is the probability that A out-earns B over a full year of independent months?
    • If their monthly P&L has correlation 0.5, what is the answer?
    • What is the probability that A out-earns B by more than Rs 5 lakh in a month?

    Asked at DRW, Trading, London, 2025 (Wall Street Oasis): technical interview based on normal distribution and market making

Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsInterview RoadmapsShowdown
RESOURCES
All CoursesFree CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.