Upstart · Probability & Brainteasers
Compute decay, OLS, and classic probability results
TrueInterview
October 7, 2026 · 1 min read
You will be given a set of probability and statistics questions.
1) Radioactive decay (half-life)
Each radioactive atom has a half-life of 1 day. Suppose that atoms decay independently, with decay times following an exponential distribution.
- Starting with atoms, what distribution describes the number of atoms still alive after days?
- Calculate:
- the expected count of atoms still living after 10 days
- the probability that at least one atom remains alive after 10 days
- Implement a simulation that takes (days) and (number of atoms) as inputs and returns the final state of each atom after days, for example 1 for alive and 0 for decayed.
2) Population OLS coefficients
Suppose
- and
- and are independent. Find the population OLS slope and intercept for:
- Regression A: regressing on (that is, )
- Regression B: regressing on (that is, )
3) Monty Hall
In the standard Monty Hall setup with three doors—one hiding a prize and two hiding goats—you choose a door, then the host opens a different door that reveals a goat and gives you an option to switch. What is the chance of winning when you switch compared with staying? Give a short justification.
4) n-sided die: time to see all faces
You repeatedly roll a fair die that has faces. What is the expected number of rolls needed to see every face at least once?
Overview: This set tests probability and statistical modeling skills: probabilistic thinking about exponential decay, the coupon-collector expectation, derivation of population OLS coefficients in simple linear models, writing a simulation, and conditional-probability reasoning as illustrated by Monty Hall.