Turing interview question

They asked python mixed with permutations and combinations.