finish leetcode permutation-sequence