https://oj.leetcode.com/problems/next-permutation/