Jane Street Interview Question

probabilities expected values