Hacktoberfest-2021 icon indicating copy to clipboard operation
Hacktoberfest-2021 copied to clipboard

Next Permutation

Open vishakha-managoli opened this issue 3 years ago • 2 comments

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.

vishakha-managoli avatar Oct 20 '21 10:10 vishakha-managoli

My name is Vishakha Managoli .Please assign this problem to me . I want to provide an optimized solution to this problem in C++ language.

vishakha-managoli avatar Oct 20 '21 10:10 vishakha-managoli

Myself Kartikay Gupta . If the problem is still in pending condition please assign it to me. I am happy to resolve it.

Kartikay123 avatar Oct 23 '21 17:10 Kartikay123