14 lines
184 B
C++
14 lines
184 B
C++
|
#ifndef S0031_NEXT_PERMUTATION
|
||
|
#define S0031_NEXT_PERMUTATION
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Solution {
|
||
|
public:
|
||
|
void nextPermutation(vector<int>& nums);
|
||
|
};
|
||
|
|
||
|
#endif
|