Pregunta de entrevista de Jane Street

Questions about expected value/probability