Trading the Breaking

Trading the Breaking

Share this post

Trading the Breaking
Trading the Breaking
Career: Would you be able to pass a quant interview?
Alpha Lab

Career: Would you be able to pass a quant interview?

How far do you have to go to compete against a mediocre quant team? Let's look at a Citadel interview question

𝚀𝚞𝚊𝚗𝚝 𝙱𝚎𝚌𝚔𝚖𝚊𝚗's avatar
𝚀𝚞𝚊𝚗𝚝 𝙱𝚎𝚌𝚔𝚖𝚊𝚗
Mar 26, 2025
∙ Paid
11

Share this post

Trading the Breaking
Trading the Breaking
Career: Would you be able to pass a quant interview?
3
Share

Table of contents:

  1. Introduction.

  2. How to face this type of problems?

    1. Probability basics.

    2. Random variables and expected value.

    3. Fair games in probability.

    4. Sequential games in probability.

    5. Clarifying possible strategies.

  3. First-principles approach to expected value.

  4. What is the expected number of opens?

  5. Solution for the fair cost.


Introduction

You're in an interview for Citadel, one of the largest funds in the world. Your hands are sweating, your mouth is dry, and you're moving like a headless chicken.

They're going to give you a short test to filter out undesirable candidates. You're scared, you're nervous, and yet you're telling yourself positive messages like "You can do it, you can do it, come on...!"

It's going to be a short 40-question test, and it will take just under an hour to answer them.

Here's the first one:

It's been 45 minutes... it wasn't as hard as it seemed, right!? Or was it!? 👽

The box game puzzle asks:

Given four sealed boxes with exactly one box containing £100, and a fee X for each box you open, what is the value of X that makes this a fair game (i.e., the expected net gain is zero)?

Despite its surface simplicity, the puzzle touches upon core ideas in probability and decision theory, such as the relationship between information gained—learning which box is empty—and the reduction in uncertainty about the prize’s location. From a broader standpoint, this problem connects to:

  • Expected value: A fundamental concept in probability theory that helps quantify the average outcome of a random process over many trials.

  • Decision theory: Particularly, sequential decision making under uncertainty. Once a box is opened and found empty, the decision maker updates their knowledge about the location of the prize.

  • Fair games: In gambling or finance, a fair game is one in which the expected net outcome is zero. Any difference from zero implies a systematic advantage—positive EV—or disadvantage—negative EV.

In a single round, the chance of success is 1/4. If that fails, the next attempt has probability 1/3 of success, and so on, until eventually, if all else fails, the final box is guaranteed to have the money. Understanding how these probabilities aggregate—and how the cost accumulates—lies at the heart of the puzzle.

How to face this type of problems?

Before diving into it, it is worth ensuring we have a firm grasp of fundamental probability concepts. While many readers will be familiar with these, stating them explicitly helps unify our language and clarifies each building block of the argument.

Probability basics

In the context of this puzzle:

  1. Sample space: The set of all possible outcomes of an experiment. Here, the sample space for Which box has the £100? has 4 equally likely possibilities.

  2. Event: A subset of the sample space. For instance, the event Box #1 has the £100 is one possible outcome with probability 1/4.

  3. Conditional probability: Once we open a box and see it is empty, the probabilities of the remaining boxes containing the £100 must be updated accordingly.

If you want to continue discovering more about this staff, don’t miss this section:

Quant Lectures

Lecture #1 - Probability for algorithmic traders

𝚀𝚞𝚊𝚗𝚝 𝙱𝚎𝚌𝚔𝚖𝚊𝚗
·
Mar 13
Lecture #1 - Probability for algorithmic traders

Read full story

Random variables and expected value

A random variable is a function that assigns numerical values to outcomes. In the Box Game, we have two primary random variables:

  • W: The total winnings from the game. If you find the £100, W=100W = 100W=100; if, hypothetically, the money is never found—not really possible here if you keep opening boxes—it would be 0, but in practice you will always eventually find the £100 if you choose to continue.

  • C: The total cost you pay to open boxes. Each time you open a box, you pay X. If you open boxes nnn times, your total cost is n×X.

The expected value of a random variable Z is the average of Z over the probability distribution of all possible outcomes. Symbolically,

\(\mathbb{E}[Z] = \sum_{i} z_i \, \)

for discrete random variables, or an integral for continuous ones. In this puzzle, we deal with discrete random variables and finite sums.

Fair games in probability

A game is fair if the expected net outcome is zero. If G denotes the net gain/loss from the game—the total money you receive minus the total cost you pay—the fairness condition is:

\(\mathbb{E}[G] = 0.\)

When a puzzle asks, What cost X makes the game fair?, it is asking us to solve for X such that:

\(\mathbb{E}[ \text{Winnings} - \text{Cost} ] = 0.\)

Sequential games in probability

This puzzle also exemplifies a sequential game, where the player makes decisions at each step—open a box or stop. After each step, the player gains information—whether that box was empty.

In an optimal play scenario, the player continues opening boxes until the £100 is found—since any rational player who has already paid for partial information is incentivized to keep going until they succeed.

Thus, from a purely logical standpoint, you would never stop early if you are playing for expected monetary value—assuming risk neutrality. The cost accumulates with each opened box, but so does the probability that the next open yields the prize.

Clarifying possible strategies

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Quant Beckman
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share