Jane Street interview question

betting games, probability, expected value