Tower Research Capital logoTower Research Capital
Other·45 minFree preview

QR Probability & Expected-Value Set

First-round QR staple (about 45 minutes, mixed with resume questions): coupon collector with N=10, corner-to-corner crawl on a rectangle, Cov(#1s, #2s) over N die rolls, expected flips until #H=#T for a p=0.7 coin starting one T down, odd row/column sums for 1-9 in a 3x3 grid, simulating any Bernoulli(p) from a fair coin, and P(d30 > d20).

RS
probability
expected-value
combinatorics
sampling
math-reasoning
medium
Frequency
Low
Last asked
2025-03-08
Stage
phone-screen

Problem

A fast sequence of probability and expectation questions. In the mid/high-frequency equity QR loop this is the first round: about 45 minutes covering both technical questions and resume. Confirmed prompts:

  • Coupon collector, N = 10: expected number of draws to collect all 10 coupon types.
  • Corner-to-corner crawl: expected number of steps to crawl from the bottom-left corner to the upper-right corner of a rectangle. The rectangle size and move rules are left unspecified; pin them down before solving. The canonical reading is a grid where each step moves only right or up.
  • Die-count covariance: in N rolls of a die, find the covariance between the number of 1s and the number of 2s.
  • Biased coin catch-up: a coin has P(H) = 0.7 and one T has already been observed. Find the expected number of further flips until the number of heads equals the number of tails.
  • 3×3 odd grid: place the numbers 1–9 uniformly at random in a 3×3 grid. Find the probability that every row and every column has an odd sum.
  • Bernoulli from a fair coin: using only a fair coin, simulate a Bernoulli(p) random variable for arbitrary p.
  • d20 vs d30: roll a 20-sided die and a 30-sided die. Find the probability that the d30 shows a strictly larger number than the d20.

Hints

Pitfalls

  • The round shares its time with resume questions, so each problem gets only a few minutes. Slow setup costs you questions.
  • Several prompts (the crawl, the grid) leave out details on purpose. State your assumptions out loud before computing; for the crawl, say which regime and boundary convention you use.
  • 1/(2p−1) diverges at p = 1/2; do not apply it to a fair coin.
  • Do not assume the non-tie outcomes of d20 vs d30 split 50-50.
  • A fixed number of flips is never an exact Bernoulli(p).

Talking Points

  • State the general formula before the numbers (N·H_N, k/(2p−1), −N/36): it shows the pattern, not one case.
  • Name the tool used: geometric stages with linearity, indicators with bilinearity, hitting-time recurrence, parity reduction.
  • Define the state or boundary convention before writing equations, and sanity-check on a hand-solvable case.
  • Coupon: N·H_N ≈ N(ln N + 0.577) is about 28.8 for N = 10, close to 29.29; the variance is N²·Σ1/j² − N·H_N ≈ 125.7, standard deviation about 11.2.
  • Distinguish almost-sure termination from bounded termination.

Follow-ups

Coin: starting with k tails gives k/(2p−1); for p < 1/2 the chance of ever catching up is (p/(1−p))^k.
Grid: all-even sums are impossible since 45 is odd; confirm 25,920 by enumerating the 9! permutations.

d20 vs d30: P(equal) = 1/30, P(D30 < D20) = 190/600 = 19/60.

Preparation

  • Work every prompt above end to end on paper and time yourself to about 5 minutes each.
  • Derive the coupon-collector expectation for general N, then plug in N = 10.
  • Derive the covariance of two category counts in N independent rolls, and check the sign with intuition.
  • Write a short simulation for the biased-coin catch-up and the d20/d30 questions to check your closed-form answers.
  • Write the fair-coin → Bernoulli(p) procedure as code and state its expected number of flips.
Was this article helpful?

Comments

Sign in to join the discussion
Loading...