Apply & Screen
Math/CS/olympiad/research signal on resume; fast online math or coding OA (Optiver/Citadel/Two Sigma style).
Quant & Hedge Funds / 2026-2027 Recruiting Cycle
D.E. Shaw emphasizes deep mathematical foundations, crisp formal proofs, and pristine engineering judgment. Interviewers expect exact derivations—from Optional Stopping and UMVUE estimators to matrix feasibility and branchless systems design—without hand-waving.
Math/CS/olympiad/research signal on resume; fast online math or coding OA (Optiver/Citadel/Two Sigma style).
45-min live expected value, Bayes, optimal stopping, or systems coding drill with step-by-step mental math.
Live two-sided quoting, order-book mechanics, adverse selection skewing, or low-latency C++/Python debugging.
4–5 rounds across desk traders & researchers testing probabilistic calibration under changing rules.
Isolated textbook probability riddles
Technical phone screens + rigorous full-day mathematical & coding onsite focused on adverse-selection spreads, Kelly sizing, and real-time EV updates
Decompose total packs T = sum_{k=1}^n T_k, where T_k is the independent geometric waiting time for the k-th distinct card with success probability p_k = (n - k + 1)/n. Expectation: E[T] = sum_{j=1}^n (n / j) = n * H_n. For n = 10, H_10 ≈ 2.929, so E[T] ≈ 29.29 packs. Variance: Var(T) = sum_{j=1}^n (1 - j/n) / (j/n)^2 = n^2 * sum_{j=1}^n (1/j^2) - n * H_n. For n = 10, sum 1/j^2 ≈ 1.5498, giving Var(T) ≈ 154.98 - 29.29 = 125.69 (SD ≈ 11.21 packs; asymptotically SD ~ (pi / sqrt(6)) * n).
Let S_t be the walk and tau = inf{t : S_t in {-b, +a}}. First, S_t is a martingale bounded on [-b, a], so by the Optional Stopping Theorem: 0 = E[S_tau] = a * p - b * (1 - p) => p = b / (a + b). Second, S_t^2 - t is also a martingale since E[(S_{t+1} - S_t)^2 | F_t] = 1. Applying Optional Stopping (justified by E[tau] < infinity and bounded increments): 0 = E[S_tau^2 - tau] => E[tau] = E[S_tau^2] = a^2 * (b/(a + b)) + b^2 * (a/(a + b)) = a * b.
A symmetric matrix with unit diagonal is a valid correlation matrix iff all principal minors are non-negative. The 2x2 minors are 1 - 0.8^2 = 0.36 > 0 and 1 - x^2 >= 0 (for x = rho_23). Setting the 3x3 determinant >= 0: det(R) = 1*(1 - x^2) - 0.8*(0.8 - 0.8x) + 0.8*(0.8x - 0.8) = -x^2 + 1.28x - 0.28 = -(x - 1)(x - 0.28) >= 0, which holds iff 0.28 <= rho_23 <= 1.00. Geometric shortcut via partial correlation: rho_23 = rho_12 * rho_13 +/- sqrt((1 - rho_12^2)(1 - rho_13^2)) = 0.64 +/- 0.36 = [0.28, 1.00].
Every adapted stopping rule yields the exact same win probability of 1/2. Let M_t = R_t / (52 - t) be the fraction of red cards remaining after t cards are revealed. By exchangeability, E[M_{t+1} | F_t] = M_t, so M_t is a bounded martingale on [0, 1] with stopping time tau <= 51. By the Optional Stopping Theorem, P(win) = E[M_tau] = M_0 = 26/52 = 1/2. Waiting for a streak of Black cards increases conditional win odds when it happens, but is exactly offset by the probability that remaining cards turn disproportionately Black before you stop.
At $100 (ATM), the straddle has delta ≈ 0, maximum positive gamma, maximum positive vega, and maximum negative theta. After an instant gap to $120, the $100 call becomes deep ITM (delta -> +1) and the $100 put becomes far OTM (delta -> 0), so net delta jumps to ~+1 (long directional stock risk). Because spot moved far from the strike, gamma, vega, and theta all collapse sharply toward zero. Consequently, a simultaneous implied-volatility crush causes far less vega damage at $120 than at $100; the dominant exposure is now unhedged +1 delta until you sell stock to re-flatten.
Under geometric Brownian motion with leverage L, log wealth drifts at g(L) = L * mu - 0.5 * L^2 * sigma^2. Maximizing over L gives dg/dL = mu - L * sigma^2 = 0 => L* = mu / sigma^2 = 0.12 / 0.0225 = 5.33x. Peak log growth is g(L*) = 0.5 * (mu / sigma)^2 = 0.5 * 0.8^2 = 32% annualized. At double Kelly (2 * L* = 10.67x), g(2 * L*) = 2 * (mu^2 / sigma^2) - 2 * (mu^2 / sigma^2) = 0%: compound growth drops completely to zero while volatility doubles (variance quadruples). Beyond 2 * L*, long-run growth turns strictly negative despite positive expected arithmetic return.
With 1 random passenger: whenever any passenger chooses randomly, seat 1 and seat 100 are completely symmetric—picking seat 1 ends the chain so passenger 100 gets seat 100, while picking seat 100 blocks it. Thus P(passenger 100 gets seat 100) = 1/2. When passengers 1 and 2 BOTH pick randomly (ignoring assigned seats), the k + 1 = 3 terminal seats {1, 2, 100} remain symmetric across every random choice: passenger 100 gets seat 100 iff seat 100 is the last of {1, 2, 100} to be occupied. By symmetry, P = 1 / (k + 1) = 1/3.
Track four state-machine balances representing max cash after each completed action: initialize `buy1 = -inf`, `sell1 = 0`, `buy2 = -inf`, `sell2 = 0`. For each price `p` in a single pass, update in order: `buy1 = max(buy1, -p)`, `sell1 = max(sell1, buy1 + p)`, `buy2 = max(buy2, sell1 - p)`, `sell2 = max(sell2, buy2 + p)`. Same-day buy/sell yields 0 net change so updating in place is valid. Return `sell2`. Complexity is strictly O(n) time and O(1) space (generalizes to k transactions in O(n * k) time and O(k) space).
A Student-t(nu = 4) has finite variance (nu/(nu - 2) = 2) and zero skewness, but infinite fourth moment (unbounded excess kurtosis). Three consequences: (1) Standard Sharpe SE `sqrt((1 + 0.5*SR^2)/T)` understates uncertainty because sample variance itself has huge variance under heavy tails; (2) Gaussian 99% VaR (`2.33 * sigma`) severely underestimates true tail losses (for standardized t_4, 99% quantile is ~2.65 * sigma, and Expected Shortfall diverges far faster); (3) Standard sample covariance has an unbounded influence function so one outlier day hijacks leading eigenvectors—remediate with Tyler's M-estimator, Huber clipping, or rank-based correlation plus shrinkage.
Simple annual yield is 100 / 95.24 - 1 = 4.76 / 95.24 = 5.00% (since 1 / 1.05 = 0.95238). Continuously compounded yield is y = ln(1.05) ≈ 0.05 - (0.05)^2 / 2 = 4.875% (exact 4.879%). Because a 1-year zero-coupon bond has exact continuous duration T = 1.0, a +50 bps (dy = +0.005) rise in yield shifts price by dP ≈ -T * P * dy = -1 * 95.24 * 0.005 = -$0.476, moving the bond to ~$94.76 (second-order convexity adds +0.5 * T^2 * P * dy^2 ≈ +$0.001).
The sample maximum M = X_(n) is complete and sufficient, with PDF n * m^(n-1) / theta^n on [0, theta]. Moments: E[M] = (n / (n + 1)) * theta and Var(M) = n * theta^2 / ((n + 1)^2 * (n + 2)). The MLE is theta_MLE = M, which is biased low by -theta/(n + 1), giving MSE(MLE) = Var(M) + Bias^2 = 2 * theta^2 / ((n + 1)(n + 2)). Scaling out the bias gives the UMVUE: theta_UMVUE = ((n + 1)/n) * M, with MSE(UMVUE) = Var(UMVUE) = theta^2 / (n(n + 2)). For all n >= 2, UMVUE achieves strictly lower MSE than MLE (nearly 2x lower for large n).
Execute a conversion arbitrage: sell the rich $100 call, buy the $100 put (creating a synthetic short forward at K = $100), and buy 100 shares of stock funded at financing rate r, locking in C - P - (S - K * e^(-rT) - PV(div)) = $0.40 at expiry. Real-world frictions that erase apparent parity breaks: (1) Hard-to-borrow (HTB) short-stock fees or recall risk on the opposite reverse-conversion side; (2) Uncertain dividend changes altering PV(div); (3) American early-exercise optionality (calls before ex-div, deep ITM puts when rates are high); (4) Asymmetric borrow/lend funding rates and expiration pin risk.
Modern superscalar CPUs speculate across conditional branches along a ~15-19 stage pipeline. In tick streams where conditions like `if (tick.price > fair_val)` flip unpredictably near 50/50, the branch predictor fails frequently, flushing the pipeline and stalling ~15-20 cycles (~5-7 ns) per misprediction. Converting control dependency into data dependency via branchless expressions (ternary assignments compiling to x86 `cmov`, arithmetic bitmasks, or AVX2 `_mm256_cmp_pd` + `_mm256_blendv_pd`) executes deterministically in 1-2 cycles with zero pipeline flushes, flattening p99 latency.
For two independent I(1) random walks, sample variance grows as O(T), sample correlation converges to a non-degenerate random variable rather than 0, and the OLS t-statistic diverges at rate O(sqrt(T)) (Granger-Newbold), yielding high R^2 and false rejections >70% of the time on long horizons. True cointegration requires a linear combination Z_t = Y_t - beta * X_t to be stationary I(0). Test via the Engle-Granger two-step method (run ADF unit-root test on residuals using Engle-Granger critical values, which are stricter than standard ADF values because beta is estimated) or the Johansen trace/max-eigenvalue test for >2 series.
Let a_n be the number of ways to reach step n. First-step conditioning gives a_n = a_{n-1} + a_{n-2} with a_0 = 1, a_1 = 1 (shifted Fibonacci: a_n = F_{n+1}). Computing sequentially: a_2 = 2, a_3 = 3, a_4 = 5, a_5 = 8, a_6 = 13, a_7 = 21, a_8 = 34, a_9 = 55, a_10 = 89. Paths starting with a 2-step move leave 8 steps remaining, giving a_8 = 34 paths. Probability = 34 / 89 = 38.20%, which converges rapidly to 1 / phi^2 = (3 - sqrt(5))/2 = 38.197% as n -> infinity.
Choose one technically meaty problem you genuinely owned end-to-end: (1) Define the exact mathematical or systems constraint that made textbook solutions fail; (2) Detail one concrete dead end and the invariant or complexity bottleneck that ruled it out; (3) Present the final solution and your independent verification method (e.g., Monte Carlo cross-check against a closed-form derivation, brute-force oracle on small n, or invariant boundary tests). Keep exposition concise and let the technical precision speak.
Enter the license key emailed after checkout to unlock all 26 firm banks and unlimited timed scoring in this browser.