Blenheim Chalcot Interview Question

All Permutations of an Array