Pergunta de entrevista da empresa Exa Corporation

They asked a probability question that was rather difficult.