What is the next lexicographical permutation of [leetcode] 31. Next Permutation?
C++ STL next_permutation算法如何实现长尾词的排列生成?