2022-11-21 06:45:25 +00:00
|
|
|
#ifndef S0031_NEXT_PERMUTATION
|
|
|
|
#define S0031_NEXT_PERMUTATION
|
|
|
|
|
|
|
|
#include <vector>
|
2022-11-21 07:24:08 +00:00
|
|
|
#include <algorithm>
|
2022-11-21 06:45:25 +00:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
class Solution {
|
|
|
|
public:
|
|
|
|
void nextPermutation(vector<int>& nums);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|