https://leetcode.com/problems/next-permutation/ 第一个算法