Next Permutation Leetcode Solution 33