Pergunta de entrevista da empresa BNSF Railway

Logic puzzles, order and combinations