IMC Trading interview question

Permutations and Probability Questions