leetcode/include/s0031_next_permutation.hpp

14 lines
184 B
C++
Raw Normal View History

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