M Market Alerts financial.apicode.io
← Knowledge base

Finance · 25 min read · ~40 min study · advanced

50 Quant Interview Questions (With Answers)

Probability, mental maths, coding, market making, behavioral — with detailed answers and tips.

50 Quant Interview Questions (With Answers) for 2026

The most common quant interview questions across probability, mental maths, coding, market making, and behavioral categories — with detailed answers and tips from real interview processes.

How Quant Interviews Work

Quant interviews are unlike anything else in finance — or technology. You will not be asked to walk through your CV for 45 minutes. Instead, expect a series of increasingly difficult technical challenges designed to test how you think under pressure.

A typical quant interview process at a top firm looks like this:

  1. Online assessment — coding test, numerical reasoning, or both
  2. Phone screen — 30-60 minutes of probability, maths, or coding questions
  3. Superday / on-site — 4-6 hours of back-to-back interviews covering probability, coding, market knowledge, and fit

The questions below are drawn from real interview processes at firms including Jane Street, Citadel, Two Sigma, Optiver, IMC, Jump Trading, Goldman Sachs, and others.


Probability & Brain Teasers

These are the bread and butter of quant interviews. Every firm asks them. The goal is not just to get the right answer — interviewers want to see clear, structured thinking.

1. You roll two fair dice. What is the expected value of the maximum?

Answer: List the 36 outcomes. The maximum takes value k with probability (2k-1)/36 for k = 1,...,6.

E[max] = (1×1 + 2×3 + 3×5 + 4×7 + 5×9 + 6×11) / 36 = 161/36 ≈ 4.47

2. You flip a fair coin repeatedly. What is the expected number of flips to get two heads in a row?

Answer: Let E be the expected number from the start, and A be the expected number given the last flip was heads.

From start: E = 1 + (1/2)A + (1/2)E → after first flip, half the time we have a head (state A), half the time we restart.

From state A: A = 1 + (1/2)(0) + (1/2)E → next flip is heads (done, 0 more needed) or tails (restart).

Solving: A = 1 + E/2, and E = 1 + A/2 + E/2.

From the second equation: E/2 = 1 + A/2, so E = 2 + A = 2 + 1 + E/2 = 3 + E/2, giving E = 6.

3. Three ants are on the vertices of an equilateral triangle. Each picks a random direction and walks along an edge. What is the probability that no two ants collide?

Answer: Each ant has 2 choices (clockwise or anticlockwise), so there are 2³ = 8 equally likely outcomes. No collision occurs only if all three go clockwise or all three go anticlockwise. P(no collision) = 2/8 = 1/4.

4. You have a biased coin that lands heads with probability p. How do you use it to simulate a fair coin?

Answer: Von Neumann's trick. Flip twice: HT → call it "heads", TH → call it "tails", HH or TT → discard and repeat. P(HT) = p(1-p) = P(TH), so the outcomes are equally likely.

5. A stick is broken at two random points. What is the probability the three pieces form a triangle?

Answer: For a triangle, each piece must be less than half the total length. If breaks are at uniform points U and V on [0,1], the condition requires all three pieces < 1/2. The probability is 1/4.

6. What is the expected number of people you need to sample before finding two with the same birthday?

Answer: This is the birthday problem in expectation form. The exact answer requires summing the probability of no match up to each step. The expected number is approximately 24.6 (commonly rounded to about 25). The probability of a match exceeds 50% at 23 people.

7. You have 100 balls: 50 red and 50 blue. You distribute them between two boxes however you like. A box is chosen at random, then a ball drawn at random from that box. How do you maximize the probability of drawing a red ball?

Answer: Put 1 red ball in box A and all remaining (49 red + 50 blue) in box B. P(red) = (1/2)(1) + (1/2)(49/99) ≈ 0.747. This is optimal because box A guarantees red, and box B still has a reasonable red ratio.

8. I pick two numbers uniformly at random from [0, 1]. What is the probability their sum is greater than 1 and their product is less than 3/16?

Answer: The sum > 1 condition restricts us to the upper-right triangle of the unit square. Within that triangle, we need xy < 3/16. Parameterize and integrate. The product constraint gives a hyperbolic boundary. The answer requires computing the area of intersection — a good test of whether you can set up integrals under pressure.

9. You have a deck of 52 cards. You draw cards one at a time. I pay you $100 for each red card and you pay me $100 for each black card. You can stop at any time. What is the optimal strategy and expected value?

Answer: The expected value is 0 if you must draw all cards. But since you can stop, the value is positive. The optimal strategy uses dynamic programming. The expected value with optimal stopping is approximately $100.

10. In a room of n people, what is the expected number of distinct birthdays?

Answer: By linearity of expectation: E[distinct] = 365 × (1 - (364/365)ⁿ). Each day is "represented" with probability 1 - (364/365)ⁿ.


Mental Maths & Estimation

These test speed and accuracy with numbers. Practice is essential.

11. What is 17 × 23?

Answer: 17 × 23 = 17 × 20 + 17 × 3 = 340 + 51 = 391

12. Estimate √2 to two decimal places.

Answer: 1.41 (1.414... more precisely)

13. What is 1/7 as a decimal?

Answer: 0.142857 (repeating)

14. What is 85² ?

Answer: Use (80+5)² = 6400 + 800 + 25 = 7,225

15. Roughly how many piano tuners are there in New York?

Answer: This is a Fermi estimation. New York population ~9M, roughly 3M households, maybe 10% have pianos (300K pianos). Each piano tuned once a year, each tuning takes ~2 hours including travel. A tuner works ~250 days × 4 tunings/day = 1,000 tunings/year. So 300K / 1,000 ≈ 300 piano tuners. The exact number matters less than the structured reasoning.


Coding Questions

Typically asked in Python or C++. You will code on a whiteboard or shared editor.

16. Implement a function to compute the nth Fibonacci number in O(log n) time.

Answer: Use matrix exponentiation. [[F(n+1), F(n)], [F(n), F(n-1)]] = [[1,1],[1,0]]ⁿ. Compute the matrix power using repeated squaring.

17. Given a time series of stock prices, find the maximum profit from a single buy-sell pair.

Answer: Single pass: track the minimum price seen so far and the maximum profit achievable.

def max_profit(prices):
 min_price = float('inf')
 max_profit = 0
 for price in prices:
 min_price = min(min_price, price)
 max_profit = max(max_profit, price - min_price)
 return max_profit

18. Implement a Monte Carlo simulation to estimate π.

Answer: Generate random (x, y) pairs in [0,1]². Count the fraction that fall inside the quarter circle (x² + y² ≤ 1). Multiply by 4.

import random

def estimate_pi(n_samples=1000000):
 inside = sum(1 for _ in range(n_samples)
 if random.random**2 + random.random**2

### Want to go deeper on 50 Quant Interview Questions (With Answers) for 2026?

This article covers the essentials, but there's a lot more to learn. Inside , you'll find hands-on coding exercises, interactive quizzes, and structured lessons that take you from fundamentals to production-ready skills — across 50+ courses in technology, finance, and mathematics.

Free to get started · No credit card required

## Keep Reading

[Finance

### How to Become a Quant: The Complete Guide for 2026

A practical roadmap for becoming a quantitative analyst, developer, trader, or researcher — covering required skills, qualifications, career paths, and how to break in without a PhD.](/quant-knowledge/finance/how-to-become-a-quant)[Mathematics

### Probability for Quant Finance: The Essential Guide (2026)

Master the probability concepts every quant needs — expected values, distributions, Bayes' theorem, the Central Limit Theorem, and risk-neutral pricing. With financial examples throughout.](/quant-knowledge/mathematics/probability-for-quant-finance)[Mathematics

### Statistics for Quantitative Trading: The Complete Guide (2026)

The statistical methods every quant trader needs — volatility estimation, hypothesis testing, regression, and factor models. Learn the statistics that actually get used on trading desks.](/quant-knowledge/mathematics/statistics-for-quantitative-trading)Finance

### How to Break Into Quant Finance: A Practical Guide (2026)

A practical, no-fluff guide to landing your first quant role — what to learn, what to build, how to interview, and how to stand out in a crowded applicant pool at banks, hedge funds, and prop firms.

<!-- KB_ENHANCED_BLOCK_START -->

## What You Will Learn

- Explain how quant interviews work.
- Build probability & brain teasers.
- Calibrate mental maths & estimation.
- Compute coding questions.
- Apply the ideas in *50 Quant Interview Questions (With Answers)* to a US-market quant problem.

## Prerequisites

- Derivatives intuition — see [Derivatives intuition](/quant-knowledge/finance/introduction-to-derivatives).
- Options Greeks — see [Options Greeks](/quant-knowledge/finance/options-greeks-explained).
- Comfort reading code and basic statistical notation.
- Curiosity about how the topic shows up in a US trading firm.

## Mental Model

Markets are auctions for risk. Every product, model, and strategy in this section is a way of pricing or transferring some piece of risk between counterparties — and US markets give you the deepest, most regulated, most algorithmic version of that auction in the world. For *50 Quant Interview Questions (With Answers)*, frame the topic as the piece that probability, mental maths, coding, market making, behavioral — with detailed answers and tips — and ask what would break if you removed it from the workflow.

## Why This Matters in US Markets

US markets are the deepest, most algorithmic, most regulated capital markets in the world. The SEC, CFTC, FINRA, and Federal Reserve govern equities, options, futures, treasuries, and OTC derivatives. The big buy-side (Bridgewater, AQR, Citadel, Two Sigma, Renaissance) and the major sell-side (GS, MS, JPM, Citi, BofA) hire heavily against the material in this section.

In US markets, *50 Quant Interview Questions (With Answers)* tends to surface during onboarding, code review, and the first incident a junior quant gets pulled into. Questions on this material recur in interviews at Citadel, Two Sigma, Jane Street, HRT, Jump, DRW, IMC, Optiver, and the major bulge-bracket banks.

## Common Mistakes

- Quoting risk-free rates without saying which curve (T-bill, OIS, fed funds futures).
- Treating implied volatility as a forecast instead of a market-clearing quantity.
- Using realized correlation as a hedge ratio without accounting for regime change.
- Treating *50 Quant Interview Questions (With Answers)* as a one-off topic rather than the foundation it becomes once you ship code.
- Skipping the US-market context — copying European or Asian conventions and getting bitten by US tick sizes, settlement, or regulator expectations.
- Optimizing for elegance instead of auditability; trading regulators care about reproducibility, not cleverness.
- Confusing model output with reality — the tape is the source of truth, the model is a hypothesis.

## Practice Questions

1. Compute the delta of an at-the-money call on SPY with one month to expiry under Black-Scholes (σ=18%, r=5%).
2. Why does the implied volatility surface for SPX exhibit a skew rather than a flat smile?
3. Define the Sharpe ratio and explain why it is annualized.
4. Why does delta-hedging a sold straddle on SPY produce P&L proportional to realized minus implied variance?
5. What does a 100 bps move in the 10-year Treasury yield typically do to a 30-year fixed-rate mortgage rate?

## Answers and Explanations

1. Δ = N(d1) where d1 = (ln(S/K) + (r + σ²/2)T) / (σ√T). With S=K, T=1/12, σ=0.18, r=0.05: d1 ≈ (0 + (0.05 + 0.0162)·0.0833) / (0.18·0.2887) ≈ 0.106; N(0.106) ≈ 0.542. Delta ≈ 0.54.
2. Because investors pay a premium for downside protection (left tail) and equity returns are negatively correlated with volatility; out-of-the-money puts therefore trade rich relative to OTM calls.
3. Sharpe = (excess return) / (volatility). Annualization (multiply by √252 for daily returns) puts strategies of different frequencies on comparable footing — a key requirement for comparing US asset managers.
4. Because the hedger captures gamma·dS² over time; integrating gives Σ gamma·(dS)², and theta paid over the life is set by implied variance. Net P&L tracks σ_realized² − σ_implied² scaled by gamma exposure.
5. Roughly 75-100 bps move the same direction; mortgages are priced off the 10y plus a spread that includes prepayment risk and originator margin, which both move with rates.

## Glossary

- **Delta** — first derivative of option price with respect to underlying.
- **Gamma** — second derivative; rate of change of delta.
- **Vega** — sensitivity of option price to implied volatility.
- **Theta** — time decay; daily P&L from holding the option as expiry approaches.
- **Implied volatility** — the σ that, when plugged into Black-Scholes, recovers the market price.
- **Skew** — variation of implied volatility across strikes.
- **Spread** — the difference between two prices; a yield curve, an option spread, or a cross-instrument arb.
- **Sharpe ratio** — annualized excess return divided by annualized volatility; the standard performance metric in US asset management.

## Further Study Path

- [Understanding Financial Markets](/quant-knowledge/finance/understanding-financial-markets) — Equity, fixed income, FX, derivatives — how markets actually work and where quants fit in.
- [Time Value of Money](/quant-knowledge/finance/time-value-of-money) — Present value, future value, discounting, NPV — the concept that underpins all of finance.
- [Bonds and Fixed Income](/quant-knowledge/finance/bonds-and-fixed-income) — Pricing, yield to maturity, duration, convexity — the fixed-income concepts behind interest-rate modeling.
- [Python for Quant Finance: Fundamentals](/quant-knowledge/python/python-for-quant-finance-fundamentals) — Variables, functions, data structures, classes, and error handling — the core Python every quant role expects.
- [Advanced Python for Financial Applications](/quant-knowledge/python/advanced-python-techniques-for-financial-applications) — Decorators, generators, and context managers — the patterns that separate beginner Python from production quant code.

## Key Learning Outcomes

- Explain how quant interviews work.
- Apply probability & brain teasers.
- Recognize mental maths & estimation.
- Describe coding questions.
- Walk through interviews as it applies to 50 quant interview questions (with answers).
- Identify questions as it applies to 50 quant interview questions (with answers).
- Articulate how 50 quant interview questions (with answers) surfaces at Citadel, Two Sigma, Jane Street, or HRT.
- Trace the US regulatory framing — SEC, CFTC, FINRA — relevant to 50 quant interview questions (with answers).
- Map a single-paragraph elevator pitch for 50 quant interview questions (with answers) suitable for an interviewer.
- Pinpoint one common production failure mode of the techniques in 50 quant interview questions (with answers).
- Explain when 50 quant interview questions (with answers) is the wrong tool and what to use instead.
- Apply how 50 quant interview questions (with answers) interacts with the order management and risk gates in a US trading stack.
- Recognize a back-of-the-envelope sanity check that proves your implementation of 50 quant interview questions (with answers) is roughly right.
- Describe which US firms publicly hire against the skills covered in 50 quant interview questions (with answers).
- Walk through a follow-up topic from this knowledge base that deepens 50 quant interview questions (with answers).
- Identify how 50 quant interview questions (with answers) would appear on a phone screen or onsite interview at a US quant shop.
- Articulate the day-one mistake a junior would make on 50 quant interview questions (with answers) and the senior's fix.
- Trace how to defend a design choice involving 50 quant interview questions (with answers) in a code review.
- Map a fresh perspective on 50 quant interview questions (with answers) from a US-market angle (item 19).
- Pinpoint a fresh perspective on 50 quant interview questions (with answers) from a US-market angle (item 20).

<!-- KB_ENHANCED_BLOCK_END -->