Leetcode Print All Permutations Of An Array