diff --git a/Next Permutation b/Next Permutation new file mode 100644 index 0000000..e61b2e9 --- /dev/null +++ b/Next Permutation @@ -0,0 +1,10 @@ + void nextPermutation(vector& nums) { + + + if(next_permutation(nums.begin(), nums.end())) + { + for(int i=0;i