Pregunta de entrevista de Optiver

prob, logic annswe with expected value