Interview questions
1,322 questions in the style trading and research firms ask, from probability and brainteasers to options, statistics and coding. Every question is open to read, with its hints. The 50 in the free sample can be answered and marked on the spot, no account needed; open 3 of their worked solutions to try, then all of them with a free account.
115 questions · page 2 of 3 · Clear filters
Random question- 41You implement a queue with two stacks: push onto the inbox, and pop from the…
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 42What is the running time of Dijkstra’s algorithm with a binary heap, on a graph…
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 43What is 1oplus2oplus3oplus⋯oplus10, where oplus is bitwise XOR?
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 44Computing x¹³ by binary exponentiation (repeated squaring), how many…
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 45You need prefix sums with point updates on a large array. Fenwick tree or segment tree?
AdvancedData structures and algorithmsCitadel SecuritiesHudson River TradingJump Trading
- 46Strassen’s matrix multiplication satisfies T(n) = 7T(n/2)+O(n²).
AdvancedData structures and algorithmsCitadel SecuritiesTwo SigmaHudson River Trading
- 47Parcels weighing 1,2,…,10 must ship in order within 5 days, each day’s load…
AdvancedData structures and algorithmsCitadelHudson River TradingJump Trading
- 48You add an array of shape (100, 5) to one of shape (5,). What happens?
FoundationPython and data for quantsCitadel SecuritiesTwo SigmaJump Trading
- 49What happens with def f(x, acc=[]): acc.append(x); return acc?
FoundationPython and data for quantsOptiverIMC TradingCitadel Securities
- 50How much memory does a 5,000 × 5,000 float64 NumPy array use, in megabytes?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 51A US equity session runs 6.5 hours. How many five-minute bars does it contain?
FoundationPython and data for quantsOptiverCitadel SecuritiesHudson River Trading
- 52An equity curve runs 100, 120, 90, 110. What is the maximum drawdown, as a decimal?
FoundationPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 53What does -7 // 2 evaluate to in Python?
FoundationPython and data for quantsCitadelHudson River TradingJump Trading
- 54A backtest computes pnl = signal * returns, where both are indexed by day. What is wrong?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaJump TradingFree solution
- 55You need the quote in force at the instant of each trade. Which join?
AppliedPython and data for quantsIMC TradingCitadel SecuritiesTwo SigmaFree solution
- 56You compute a feature with df.rolling(21, center=True).mean().
AppliedPython and data for quantsIMC TradingTwo SigmaJump Trading
- 57Roughly how much memory does a list of ten million distinct Python integers…
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 58You slice a[::2] and then modify the result. What happens to a?
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 59You add two pandas Series with partly different indexes. What do you get?
AppliedPython and data for quantsCitadel SecuritiesTwo SigmaHudson River Trading
- 60A $100 stock goes ex-dividend by $2.
AppliedPython and data for quantsCitadelCitadel SecuritiesHudson River Trading
- 61Profiling shows 60% of runtime in one function.
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 62A NumPy array is C-ordered. Which loop is faster: summing along rows or along columns?
AdvancedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 63How many continuous derivatives does a natural cubic spline have at its knots?
FoundationNumerical methodsCitadelCitadel SecuritiesHudson River Trading
- 64You halve the step size in the trapezoid rule. By what factor does the error fall?
FoundationNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 65What is machine epsilon for IEEE 754 double precision, in units of 10⁻¹⁶, to…
FoundationNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 66Why do exchange systems store prices as integer ticks rather than as…
AppliedNumerical methodsOptiverIMC TradingHudson River Trading
- 67Newton’s method converges quadratically and you start with one correct digit.
AppliedNumerical methodsOptiverCitadel SecuritiesHudson River Trading
- 68Up to what polynomial degree does three-point Gauss–Legendre quadrature integrate exactly?
AppliedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 69Roughly how many floating-point operations does a Cholesky factorisation of a…
AppliedNumerical methodsCitadel SecuritiesTwo SigmaHudson River Trading
- 70What is the order of accuracy in time of the Crank–Nicolson scheme?
AppliedNumerical methodsOptiverCitadel SecuritiesHudson River Trading
- 71Double precision can represent every integer up to 2ᵏ exactly, but not every…
AppliedNumerical methodsCitadelHudson River TradingJump Trading
- 72Your implied-volatility solver uses pure Newton–Raphson. Which input breaks it?
AdvancedNumerical methodsOptiverIMC TradingJump Trading
- 73Computing a variance as 𝔼[X²]−(𝔼[X])² sometimes returns a small negative number. Why?
AdvancedNumerical methodsTwo SigmaHudson River TradingJump Trading
- 74What is the order of convergence of the secant method, to three decimal places?
AdvancedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 75An explicit scheme for the heat equation with unit diffusion requires Δt ≤ Δx²/2.
AdvancedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 76You sum ten million small positive numbers in float32. What goes wrong and what fixes it?
AdvancedNumerical methodsCitadel SecuritiesTwo SigmaHudson River Trading
- 77An L1 cache reference costs about 1 ns and a main-memory reference about 100 ns.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump TradingFree solution
- 78AVX-512 registers are 512 bits wide. How many float64 values does one hold?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 79A cache line is 64 bytes. How many 32-bit integers fit in one?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 80A single scan reads 1 GB from main memory at a sustained 20 GB/s.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading