Pergunta de entrevista da empresa Jane Street

Probability and expected value question I think