leetcode/include/s0031_next_permutation.hpp
2022-11-30 18:20:36 +08:00

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