Jane Street interview question

Probability questions regarding expected values and permutations