Pregunta de entrevista de Jane Street

Probability around dice throwing x