Question d’entretien chez Jane Street

Brain teaser involving basic probability