leetcode/include/s0031_next_permutation.hpp

15 lines
213 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0031_NEXT_PERMUTATION_HPP
#define S0031_NEXT_PERMUTATION_HPP
2022-11-21 06:45:25 +00:00
#include <vector>
2022-11-21 07:24:08 +00:00
#include <algorithm>
2022-11-21 06:45:25 +00:00
using namespace std;
class Solution {
public:
void nextPermutation(vector<int>& nums);
};
#endif