15 lines
210 B
C++
15 lines
210 B
C++
#ifndef S0031_NEXT_PERMUTATION_HPP
|
|
#define S0031_NEXT_PERMUTATION_HPP
|
|
|
|
#include <vector>
|
|
#include <algorithm>
|
|
|
|
using namespace std;
|
|
|
|
class S0031 {
|
|
public:
|
|
void nextPermutation(vector<int>& nums);
|
|
};
|
|
|
|
#endif
|