Skip to content

Commit d76283a

Browse files
authored
Create NextPermutation.cpp
1 parent ac812fc commit d76283a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: Next Permutation.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class Solution {
2+
public:
3+
void nextPermutation(vector<int>& nums) {
4+
next_permutation(nums.begin(),nums.end());
5+
}
6+
};

0 commit comments

Comments
 (0)