Permutations of an Array of Arrays

medium