finish leetcode permutations2