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–3 of 3 · filtered from 100Clear filters
  1. 011An urn starts with one red ball and one blue ball. Each turn you draw a ball at random, put it back, and add another ball of the same colour. After ten draws, what is the probability that exactly five of the draws were red?Markov chains and random walksCoreQuant researchQuant trading

    Try it first

    Your first instinct for P(exactly five reds)?

    Show the worked solution

    1/11, about 9.1%. Any particular sequence with five reds and five blues has probability 5! x 5! / 11!, whatever the order, because the numerators just count up the reds and blues separately. There are 10 choose 5 = 252 such sequences, and 252 x 5! x 5! / 11! = 1/11. The same algebra gives 1/11 for every count from 0 to 10.

    Why is this not ten coin flips?

    Think of a new café and its first customers. If the first few visitors like it and bring friends, it fills up; if they do not, it stays empty. Early luck compounds. In this urn each red draw adds a red ball, so it raises the chance of the next red: the draws reinforce each other, and runs that start lopsided tend to stay lopsided. That spreads the count of reds far more widely than independent coin flips, which bunch around five.

    Ten draws from the urn: every count of reds from 0 to 10 is equally likely012345678910coin flips: 24.6% at five1/11eachnumber of red draws out of tenStart: 1 red, 1 blueDraw, return, add one of that colour
    After ten draws from an urn that starts with one red and one blue ball and adds a ball of the drawn colour each time, every count of reds from 0 to 10 has probability 1/11, a flat line, while ten fair coin flips would pile up at five with 24.6%.

    Why does the order of the draws not matter?

    Write out one sequence, say five reds then five blues. The chances are 1/2, 2/3, 3/4, 4/5, 5/6 for the reds, then 1/7, 2/8, 3/9, 4/10, 5/11 for the blues. Shuffle the order and the denominators are still 2 up to 11, while the red numerators still run 1 to 5 and the blue ones 1 to 5, so every arrangement of five reds and five blues has the same probability, 5! x 5! / 11!. Draws whose joint probability ignores order are called exchangeableA sequence of random variables whose joint distribution does not change when you reorder them, even though they need not be independent., and that is the property doing the work.

    The relationship
    P(k reds in n)=(nk)k! (n−k)!(n+1)!=1n+1n=10:  252⋅120⋅12039 916 800=111P(k \text{ reds in } n) = \binom{n}{k}\frac{k!\,(n-k)!}{(n+1)!} = \frac{1}{n+1} \qquad n = 10:\; \frac{252 \cdot 120 \cdot 120}{39\,916\,800} = \frac{1}{11}
    \binom{n}{k}the number of orders in which k reds can appear
    k!(n-k)!/(n+1)!the probability of any one such order
    What it says in wordsThe number of orders times the probability of each order is always one over n plus one.

    Is there a picture that makes 1/11 obvious?

    Yes. This urn behaves exactly as if nature first picked a hidden red probability p uniformly between 0 and 1, and then flipped ten independent coins with that p. Averaging a binomial over a uniform p gives every count the same weight, 1/(n + 1). The urn is also a small model of momentum and of market share: an early lead makes further gains more likely, so the final split is highly uncertain, even though each step looks like a fair draw.

    Where candidates lose it

    The fast wrong answer is 252/1024, about 24.6%, from treating the draws as independent coin flips. The reinforcement is the whole question, and it spreads the outcomes out rather than pulling them to the middle.

    The second trap is trying to add up paths through a tree of ten levels. Spot that every order of a given mix has the same probability, and the problem collapses to one line.

    What the interviewer asks next

    • What is the probability the eleventh draw is red, given that five of the first ten were red?
    • What if the urn starts with two red and one blue ball?
    • As the number of draws grows, what does the fraction of red balls converge to?
  2. 042A queue holds between 0 and 3 orders. Each tick at most one thing happens: with probability 0.3 a new order arrives (if there is room), with probability 0.5 one order is filled (if the queue is not empty), and otherwise nothing changes. In the long run, what fraction of ticks is the queue full?Markov chains and random walksCoreDRWNew York · 2026

    Try it first

    Roughly what share of ticks is the queue full?

    Show the worked solution

    27/272, about 9.9% of ticks. In a birth-death chain the long-run flow up across each cut equals the flow down, so share(k) x 0.3 = share(k + 1) x 0.5. Each state's share is 0.6 times the one below: weights 1, 0.6, 0.36 and 0.216, summing to 2.176. The full state gets 0.216/2.176, about 9.9%, and the queue is empty about 46% of the time.

    Why can you skip solving the full set of equations?

    Stand at a doorway between two rooms at a party that has settled down. Over an evening, the number of people walking through one way must match the number walking back, or one room would keep filling. In a chain that only steps up or down by one, the long-run flow across the boundary between neighbouring states must balance, which gives one simple equation per cut. Here flow up from state k is its share times 0.3, and flow down from state k + 1 is its share times 0.5.

    Birth-death chain: across each cut, flow up equals flow down0 ordersempty1 order2 orders3 ordersfull0.30.50.30.50.30.5Cut balance: share(k) x 0.3 = share(k + 1) x 0.5, so each share is 0.6 times the last46.0%weight 127.6%weight 0.616.5%weight 0.369.9%weight 0.216
    Arrivals push the queue up with probability 0.3 and fills pull it down with probability 0.5, so each state's long-run share is 0.6 times the one below: 46.0% empty, 27.6% with one order, 16.5% with two and 9.9% full.

    How do the cut equations give the answer?

    Write each share relative to the empty state. Each cut gives share(k + 1) = share(k) x 0.3/0.5 = 0.6 x share(k), so the weights are 1, 0.6, 0.36 and 0.216. They sum to 2.176, so the full queue holds 0.216/2.176 = 27/272 of the time, about 9.9%. The staying probabilities, 0.2 in the middle states and 0.5 when full, never enter; a chain that pauses on a state does not change the balance across cuts.

    The relationship
    πk+1=πk⋅0.30.5π3=0.631+0.6+0.62+0.63=27272≈9.9%\pi_{k+1} = \pi_k\cdot\frac{0.3}{0.5} \qquad \pi_3 = \frac{0.6^3}{1 + 0.6 + 0.6^2 + 0.6^3} = \frac{27}{272} \approx 9.9\%
    pi_klong-run share of ticks with k orders in the queue
    0.3chance of an arrival when there is room
    0.5chance of a fill when the queue is not empty
    What it says in wordsEach state is visited 0.6 times as often as the one below it; normalise the four weights to add to one.

    Check with conservation. Orders accepted per tick are 0.3 x (1 - 0.099) = 0.2702, and orders filled per tick are 0.5 x (1 - 0.460) = 0.2702: the same, as they must be. That gives a useful business number: arrivals turned away because the queue is full run at 0.3 x 0.099, about 0.030 per tick, or one arrival in ten. The model assumes one event per tick; if an arrival and a fill could happen in the same tick, the chain changes and so do the numbers.

    Where candidates lose it

    The common loss is assuming the four states are equally likely, or writing out all four balance equations with the self-loops and solving a 4 by 4 system under time pressure. The cut method needs three one-line ratios.

    The second is inverting the ratio, using 0.5/0.3, which makes the full state the most common. Fills are faster than arrivals, so the queue must lean toward empty; check the direction before you normalise.

    What the interviewer asks next

    • What is the average queue length?
    • What arrival probability would make the queue full 25% of the time?
    • How does the answer change if the queue can hold unlimited orders?

    Asked at DRW, Quantitative Research, New York, 2026 (Wall Street Oasis): There was a problem on Chi-squared distributions which was difficult and also one on birth death chains.

  3. 062A symmetric random walk starts at 0 and moves up or down by one each step with equal probability. What is the expected number of steps until it first reaches +3 or -3?Markov chains and random walksCoreQuant researchQuant trading

    Try it first

    What is the expected number of steps to hit +3 or -3 from 0?

    Show the worked solution

    9 steps. Let E(k) be the expected steps left from state k. Each step costs one and lands on a neighbour with equal chance, so E(k) = 1 + (E(k - 1) + E(k + 1))/2, with E(3) = E(-3) = 0. The solution is E(k) = (3 - k)(3 + k): 9 from 0, 8 from plus or minus 1, 5 from plus or minus 2. A symmetric walk needs about the square of the distance to travel it.

    Why is the answer not 3?

    Think of someone pacing a narrow corridor, choosing left or right at random with every step. They do reach a wall eventually, but they spend most of their time doubling back. A random walk with no drift covers distance like the square root of time, so covering a distance of 3 takes about 3 squared steps, not 3. The answer 3 would only be right if the walk always moved in one direction. The structure to name in the room is a first-step recursion on the state, which turns the question into seven unknowns with simple links between them.

    Expected steps left from each state: 9, 8, 5, then 0 at the walls-35-28-1908+15+2+3stop: 0stop: 0Each state: one step, then the average ofits two neighbours. From +1: 1 + (9 + 5)/2 = 8Distance to the walls multiplied:from k, (3 - k) x (3 + k) = 9 - k^2Check: S^2 - n has zero drift, so E[T] = E[S_T^2] = 3^2 = 9
    The expected number of steps left is 9 from the centre, 8 one step out, 5 two steps out and 0 at the walls, tracing the parabola 9 - k squared, which is the product of the distances to the two walls.

    How do you solve the recursion quickly?

    Use symmetry first: E(1) = E(-1) and E(2) = E(-2). Then three equations remain. From 2: E(2) = 1 + (E(1) + 0)/2. From 1: E(1) = 1 + (E(0) + E(2))/2. From 0: E(0) = 1 + E(1), because both neighbours are worth E(1). Substituting gives E(1) = 8 and E(0) = 9, and every value matches the product of the distances to the two walls. The second differences of E are all minus 2, which is why the answer is a parabola: each step must remove exactly one unit of expected time.

    The relationship
    E(k)=1+12E(k−1)+12E(k+1),E(±3)=0  ⇒  E(k)=(3−k)(3+k),E(0)=9E(k) = 1 + \tfrac12 E(k-1) + \tfrac12 E(k+1),\quad E(\pm 3) = 0 \;\Rightarrow\; E(k) = (3-k)(3+k),\quad E(0) = 9
    E(k)the expected number of steps left from state k
    1the step just taken
    E(plus or minus 3) = 0the walls, where the walk stops
    What it says in wordsOne step plus the average of the two neighbouring states, solved, gives the product of the distances to the walls.

    How do you check 9 a second way?

    Use a martingaleA process whose expected next value, given everything so far, equals its current value: a fair game.. Squaring the position and subtracting the number of steps gives a fair game, because each step adds exactly 1 to the expected square. At the moment the walk stops its square is exactly 9, so the expected number of steps must also be 9. The same argument handles uneven walls: starting between -a and +b, the expected time is a times b. The cousin result is the hitting probability: from +1, the walk reaches +3 before -3 with probability 2/3, the distance to the far wall over the total width.

    Where candidates lose it

    The trap answers are 3, from treating the walk as if it marched to a wall, and infinity, from a half-remembered fact that a symmetric walk on the whole line takes infinite expected time to reach a given level. With two walls, escape is certain and fast.

    The second loss is setting up seven equations and grinding them. Use symmetry to cut to three, then state the product rule and check it with the squared-position argument.

    What the interviewer asks next

    • Starting at 0, what is the expected time to hit +2 or -4?
    • From +1, what is the probability of reaching +3 before -3?
    • With only one wall at +3 and no lower wall, what is the expected time to reach it?
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.