ML Engineer MasterClass (April) | 6 seats left

The Two Envelope Problem

The Two Envelope Problem

Problem Statement

The Question

Interview question: Two envelopes sit in front of you. One contains twice as much money as the other, but you don't know which is which. You pick one at random, open it, and see the amount $X$ inside. You can either keep your envelope or switch to the other one. Should you switch?

This problem shows up at Jane Street, Citadel, and DE Shaw, typically in early-round i...

Unlock the full lesson

Created by interviewers from Google and Meta. Master every concept you need to land your dream role.

All courses — Data, ML/AI & Quant
Unlimited coding submissions
Hands-on projects with real datasets
Detailed solutions in text & video
Monthly content updates
Join Premium