Meta interview question

Permutation subsets