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.
496 questions · page 12 of 13 · Clear filters
Random question- 441What is 1oplus2oplus3oplus⋯oplus10, where oplus is bitwise XOR?
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 442Computing x¹³ by binary exponentiation (repeated squaring), how many…
AppliedData structures and algorithmsCitadelHudson River TradingJump Trading
- 443With both union by rank and path compression, what is the amortised cost of a…
AdvancedData structures and algorithmsJane StreetCitadelHudson River Trading
- 444Parcels weighing 1,2,…,10 must ship in order within 5 days, each day’s load…
AdvancedData structures and algorithmsCitadelHudson River TradingJump Trading
- 445Any comparison sort must, in the worst case, make at least ⌈log₂n!⌉ comparisons.
AdvancedData structures and algorithmsJane StreetCitadelHudson River Trading
- 446What is sum([i * j for i in range(3) for j in range(3) if i != j])?
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 447What does -7 // 2 evaluate to in Python?
FoundationPython and data for quantsCitadelHudson River TradingJump Trading
- 448After g = (x for x in range(3)) and list(g), what is len(list(g))?
FoundationPython and data for quantsCitadelHudson River Trading
- 449When should you compare with is rather than == in Python?
FoundationPython and data for quantsCitadelHudson River Trading
- 450How many elements does the result of adding NumPy arrays of shapes (3, 1) and (1, 4) have?
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 451What is the length of np.arange(10).reshape(2, 5).sum(axis=0)?
FoundationPython and data for quantsCitadelTwo Sigma
- 452What does pd.Series([1, None, 3]).mean() return?
FoundationPython and data for quantsCitadelTwo Sigma
- 453For prices 100,110,99, what is the last value of pct_change()?
FoundationPython and data for quantsCitadelTwo Sigma
- 454A Series has 10 values. How many non-missing values does s.rolling(3).mean() contain?
FoundationPython and data for quantsCitadelTwo Sigma
- 455The New York equity open is 9:30 local time.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 456A strategy grows $100 to $150 over three years.
FoundationPython and data for quantsCitadelTwo SigmaAQR
- 457A strategy wins 40% of trades with an average gain of 3 and loses 60% with an…
FoundationPython and data for quantsOptiverCitadelTwo Sigma
- 458You test x in container millions of times against a fixed collection of 100,000 ids.
FoundationPython and data for quantsCitadelTwo SigmaHudson River Trading
- 459A strategy has a daily Sharpe ratio of 0.1. What is its annualised Sharpe ratio?
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 460A $100 stock goes ex-dividend by $2.
AppliedPython and data for quantsCitadelCitadel SecuritiesHudson River Trading
- 461What does [f() for f in [lambda: i for i in range(3)]] evaluate to?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 462After a = [[0] * 3] * 3 and a[0][0] = 1, what is sum(map(sum, a))?
AppliedPython and data for quantsCitadelHudson River Trading
- 463What does round(2.5) return in Python 3?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 464What is the value in np.array([127], dtype=np.int8) + 1?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 465You 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
- 466For the data 1,2,3,4, pandas’ Series.std() (default ddof=1) returns what, to…
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 467A daily signal is computed from each day’s close.
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 468Prices go 100 → 110 → 99. What is the total log return, to five decimals?
AppliedPython and data for quantsCitadelTwo SigmaHudson River Trading
- 469Portfolio weights move from (0.5,0.5) to (0.7,0.3). What is the one-way turnover?
AppliedPython and data for quantsCitadelTwo SigmaAQR
- 470How many continuous derivatives does a natural cubic spline have at its knots?
FoundationNumerical methodsCitadelCitadel SecuritiesHudson River Trading
- 471Newton’s method for x²−2 = 0 starts at x₀ = 1. What is x₂, to four decimals?
FoundationNumerical methodsOptiverCitadelHudson River Trading
- 472Apply one Newton step to f(x) = x³−2x−5 starting from x₀ = 2. What is x₁?
FoundationNumerical methodsCitadelHudson River Trading
- 473The two-year yield is 3.0% and the five-year 3.6%.
FoundationNumerical methodsCitadelDRW
- 474Estimate ∫₀¹x² dx with the trapezoid rule on two equal intervals.
FoundationNumerical methodsCitadelTwo Sigma
- 475For [[4, 1], [1, 3]]x = [1, 2], one Jacobi iteration from x = (0,0) gives what…
FoundationNumerical methodsCitadelTwo Sigma
- 476A finite-difference grid has 1,000 price points by 1,000 time steps, stored as float64.
FoundationNumerical methodsCitadelHudson River Trading
- 477Solve y' = y, y(0) = 1 with forward Euler and step h = 0.5. What is the estimate of y(1)?
FoundationNumerical methodsCitadelTwo Sigma
- 478What is the global order of accuracy of the classical fourth-order Runge–Kutta method?
FoundationNumerical methodsCitadelTwo Sigma
- 479Iterating xₖ₊₁ = cos xₖ converges to the fixed point x* ≈ 0.739.
AppliedNumerical methodsCitadelTwo Sigma
- 480Why is Brent’s method a common default root-finder in numerical libraries?
AppliedNumerical methodsOptiverCitadelHudson River Trading