leetcode/include/s0031_next_permutation.hpp
2022-11-21 15:24:08 +08:00

15 lines
205 B
C++

#ifndef S0031_NEXT_PERMUTATION
#define S0031_NEXT_PERMUTATION
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
void nextPermutation(vector<int>& nums);
};
#endif