BNSF Railway Interview Question

Logic puzzles, order and combinations