Pregunta de entrevista de Exa Corporation

They asked a probability question that was rather difficult.