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.
149 questions · page 3 of 4 · Clear filters
Random question- 81Profiling shows 60% of runtime in one function.
AppliedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 82What does [f() for f in [lambda: i for i in range(3)]] evaluate to?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 83After a = [[0] * 3] * 3 and a[0][0] = 1, what is sum(map(sum, a))?
AppliedPython and data for quantsCitadelHudson River Trading
- 84What does round(2.5) return in Python 3?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 85What is the value in np.array([127], dtype=np.int8) + 1?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 86You take b = a[[0, 2, 4]] from a NumPy array a and then set b[0] = 99. What happens to a?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 87Prices go 100 → 110 → 99. What is the total log return, to five decimals?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 88A NumPy array is C-ordered. Which loop is faster: summing along rows or along columns?
AdvancedPython and data for quantsCitadel SecuritiesHudson River TradingJump Trading
- 89How many continuous derivatives does a natural cubic spline have at its knots?
FoundationNumerical methodsCitadelCitadel SecuritiesHudson River Trading
- 90You halve the step size in the trapezoid rule. By what factor does the error fall?
FoundationNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 91What is machine epsilon for IEEE 754 double precision, in units of 10⁻¹⁶, to…
FoundationNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 92Newton’s method for x²−2 = 0 starts at x₀ = 1. What is x₂, to four decimals?
FoundationNumerical methodsOptiverCitadelHudson River Trading
- 93Apply one Newton step to f(x) = x³−2x−5 starting from x₀ = 2. What is x₁?
FoundationNumerical methodsCitadelHudson River Trading
- 94A finite-difference grid has 1,000 price points by 1,000 time steps, stored as float64.
FoundationNumerical methodsCitadelHudson River Trading
- 95Why do exchange systems store prices as integer ticks rather than as…
AppliedNumerical methodsOptiverIMC TradingHudson River Trading
- 96Newton’s method converges quadratically and you start with one correct digit.
AppliedNumerical methodsOptiverCitadel SecuritiesHudson River Trading
- 97Up to what polynomial degree does three-point Gauss–Legendre quadrature integrate exactly?
AppliedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 98Roughly how many floating-point operations does a Cholesky factorisation of a…
AppliedNumerical methodsCitadel SecuritiesTwo SigmaHudson River Trading
- 99What is the order of accuracy in time of the Crank–Nicolson scheme?
AppliedNumerical methodsOptiverCitadel SecuritiesHudson River Trading
- 100Why is Brent’s method a common default root-finder in numerical libraries?
AppliedNumerical methodsOptiverCitadelHudson River Trading
- 101You solve Ax = b in double precision (about 16 significant digits) and A has…
AppliedNumerical methodsCitadelTwo SigmaHudson River Trading
- 102In double precision, what does 1 - math.cos(1e-8) evaluate to?
AppliedNumerical methodsCitadelTwo SigmaHudson River Trading
- 103Double precision can represent every integer up to 2ᵏ exactly, but not every…
AppliedNumerical methodsCitadelHudson River TradingJump Trading
- 104A loop total = 0.0; for _ in range(10): total += 0.1 leaves total == 0.9999999999999999.
AppliedNumerical methodsCitadelTwo SigmaHudson River Trading
- 105You need x = A⁻¹b. Why does production code not compute the inverse?
AdvancedNumerical methodsCitadelTwo SigmaHudson River Trading
- 106Computing a variance as 𝔼[X²]−(𝔼[X])² sometimes returns a small negative number. Why?
AdvancedNumerical methodsTwo SigmaHudson River TradingJump Trading
- 107What is the order of convergence of the secant method, to three decimal places?
AdvancedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 108An explicit scheme for the heat equation with unit diffusion requires Δt ≤ Δx²/2.
AdvancedNumerical methodsCitadel SecuritiesHudson River TradingJump Trading
- 109You sum ten million small positive numbers in float32. What goes wrong and what fixes it?
AdvancedNumerical methodsCitadel SecuritiesTwo SigmaHudson River Trading
- 110An L1 cache reference costs about 1 ns and a main-memory reference about 100 ns.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump TradingFree solution
- 111AVX-512 registers are 512 bits wide. How many float64 values does one hold?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 112A cache line is 64 bytes. How many 32-bit integers fit in one?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 113A single scan reads 1 GB from main memory at a sustained 20 GB/s.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading
- 114A ring buffer has capacity 1024 and wraps its index with a bit mask instead of a modulo.
FoundationSystems and low latencyHudson River TradingJump Trading
- 115A multicast feed delivers packets with sequence numbers 1001, 1002 and then 1005.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 116You sort 1,000 latency samples in ascending order.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading
- 117A timestamp counter ticks at 3 GHz. How many ticks elapse in one microsecond?
FoundationSystems and low latencyHudson River TradingJump Trading
- 118An array-based book pre-allocates one slot per price tick.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 119You join a price level behind 800 shares.
FoundationSystems and low latencyOptiverCitadel SecuritiesHudson River Trading
- 120Two systems: one has a mean of 2 μs and a p99.9 of 2 ms, the other a mean of 5…
AppliedSystems and low latencyOptiverCitadel SecuritiesHudson River TradingFree solution