15 lines
205 B
C++
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
|