The Secretary Problem

Optimal stopping strategy for random draws is a hard quant interview question on Expected Value, reported to have been seen at Jane Street.

Difficulty Hard Topic Expected Value Reported at Jane Street

MyQuantPartner is not affiliated with, endorsed by, or sponsored by these companies, and all trademarks belong to their respective owners.

This question is about making an optimal stopping decision when you see a sequence of random payoffs with a known distribution and a cost to keep going. It belongs to the family of secretary problems and gambler's-choice problems, but phrased in a more numerical, expected value setting. You have a finite horizon and must decide when the current reward is "good enough" compared with the uncertain, costly future.

It trains comfort with expected value, dynamic decision-making, and optimal stopping under a finite number of steps. You practice turning an informal "should I continue?" intuition into a precise quantitative rule, and relating thresholds, probabilities, and payoffs. It also reinforces working systematically with uniform distributions and thinking clearly about trade-offs between risk and reward.

This matters for quant interviews and quant prep because top trading firms care about how you formalize choices under uncertainty. Strong candidates can translate an apparently simple game into a structured decision problem, derive clear criteria for action, and reason rigorously about value, not just probability. This is exactly the kind of thinking used in trading, execution, and algorithm design across top quant interviews.

What it tests

This problem class is governed by the optimal stopping rule for maximizing expected rewards under a cost constraint and a finite horizon. The core structure is that each opportunity to stop (or continue) can be modeled as a trade-off between the immediate reward and the expected value of future opportunities, discounted by the cost of continuing. The principle is to set a threshold: only accept outcomes above a certain value, which balances the increasing cost of waiting against the diminishing probability of getting a better outcome. The optimal threshold is found where the marginal gain from waiting equals the marginal cost, which often leads to a function to optimize over possible thresholds. This pattern holds because, under uniform or known distributions, the expected time to reach a threshold and the expected reward when stopping can be explicitly calculated and balanced.

Practise this question with written feedback, or hear it in a spoken mock interview.

Get started free