Generate All Permutation Leetcode