Average Gap Between Two 30-Sided Dice

Average difference between two dice rolls is an easy quant interview question on Combinatorics, reported to have been seen at DRW and Jane Street.

Difficulty Easy Topic Combinatorics Reported at DRW, Jane Street

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

This classic quant prep question is about understanding how the distance between two independent discrete outcomes behaves on average. Instead of focusing on the raw values themselves, you care about how far apart they end up, which is a recurring theme in modeling price moves, spread dynamics, and relative value in markets. It connects combinatorics with probability in a very concrete setting that feels simple but encodes a subtle structure.

It trains your ability to translate a symmetric setup into a clean probabilistic description and to turn counting arguments into an exact expectation. You practice spotting invariances, organizing outcome spaces, and handling discrete distributions efficiently. Those skills are central in quant interviews, where you must move fluently between combinatorics and random variables.

For a quant interview, this matters because it reveals how you think under light abstraction. Interviewers see whether you can compress a high-dimensional space of outcomes into a few key patterns, reason about uniform randomness without brute force, and articulate a precise, rigorous argument. This is the kind of probability and combinatorics fluency real trading and research roles rely on daily.

What it tests

When seeking the expected value of a function of two independent, identically distributed discrete random variables, symmetry and combinatorial counting often simplify the analysis. For functions like the absolute difference, the key is to recognize that the distribution depends only on the difference between the two variables, not their absolute values. This means the probability mass function of the difference can be constructed by systematically counting the number of pairs yielding each possible difference. The pattern holds because, for any fixed difference, the number of ways to achieve it is determined by the overlap of possible values, and the independence ensures each pair is equally likely. This approach generalizes to other symmetric functions of pairs of random variables, especially when the underlying distributions are uniform.

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

Get started free