Jane Street interview question

probabilities expected values