Pregunta de entrevista de Jane Street

Some Venn diagram based probability problems