Skip to content

Commit

Permalink
Merge pull request #459 from Aakash231217/patch-4
Browse files Browse the repository at this point in the history
Create NextPermutation.cpp
  • Loading branch information
gantavyamalviya authored Oct 4, 2022
2 parents 620a107 + d76283a commit a2488ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Next Permutation.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class Solution {
public:
void nextPermutation(vector<int>& nums) {
next_permutation(nums.begin(),nums.end());
}
};

0 comments on commit a2488ee

Please sign in to comment.