Pregunta de entrevista de Jane Street

bus question; probability question