Pregunta de entrevista de Jane Street

Questions about probability and expected value.