Skip to content

Commit af13b03

Browse files
committed
31. Next Permutation
1 parent 5962ae4 commit af13b03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//https://leetcode.com/problems/next-permutation/
2+
3+
class Solution {
4+
public:
5+
void nextPermutation(vector<int>& nums) {
6+
next_permutation(nums.begin(),nums.end());
7+
}
8+
};

0 commit comments

Comments
 (0)