Hacktoberfest-2021
Hacktoberfest-2021 copied to clipboard
Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such an arrangement is not possible, it must rearrange it as the lowest possible order (i.e., sorted in ascending order).
The replacement must be in place and use only constant extra memory.
My name is Vishakha Managoli .Please assign this problem to me . I want to provide an optimized solution to this problem in C++ language.
Myself Kartikay Gupta . If the problem is still in pending condition please assign it to me. I am happy to resolve it.