Pregunta de entrevista de Jane Street

Math problems, heavily focused on probability