Skip to content

Commit 71dfacb

Browse files
committed
Solution as on 20-03-2022 08:02 pm
1 parent f52a607 commit 71dfacb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

0031. Next Permutation.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 31.✅ Next Permutation
2+
3+
class Solution
4+
{
5+
public:
6+
void nextPermutation(vector<int> &nums)
7+
{
8+
9+
next_permutation(nums.begin(), nums.end());
10+
}
11+
};

0 commit comments

Comments
 (0)