Die Roll Game's Expected Length

Expected length in die rolling game is a hard quant interview question on Expected Value, reported to have been seen at Two Sigma.

Difficulty Hard Topic Expected Value Reported at Two Sigma

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

This quant interview question is about modeling a stochastic process built from repeated, independent die rolls where some outcomes extend the current state, others wipe it out, and a special one both extends and stops it. It forces candidates to formalize informal rules into a clean probabilistic framework, something you constantly do in real quantitative finance interviews and real jobs.

It trains conditional expectation, conditional first-passage reasoning, and the ability to handle resets in Markovian systems. It also builds intuition for geometric-type behavior under conditioning, and for separating the "raw" time to an event from the time given that disruptive events have not happened first.

This matters for quant prep because top trading firms use similar problems to test whether you can turn complex game-like rules into a precise stochastic model, reason about paths and resets, and compute expectations under subtle conditioning in high-pressure quant interviews.

What it tests

This problem class is governed by the principle of reducing a process with resets or interruptions to a conditional first-passage problem. When outcomes can either advance, reset, or terminate a process, the expected value often depends on the order in which certain key events (like 'reset' or 'end') occur. The memoryless property of independent trials (such as die rolls) allows us to focus on the probability that a particular outcome (like rolling a 1) occurs before any of the 'reset' outcomes (like rolling a 3 or 5). This symmetry among possible terminating events means that, conditioned on the desired event happening first, the process can often be modeled as a geometric random variable with an adjusted success probability. The key is recognizing that the expected length is not simply the mean time to the first 'end', but the mean time to the first 'end' given that no 'reset' occurs before it.

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

Get started free