leetcode permutation sequence take 3