Mean: 求出可重排列的下一个排列。 analyse: 直接用STL来实现就可。自己手动写了一个,并不复杂。 Time complexity: O(n^2) Source code: 1.STL 2.手写