Next permutation


what is it failing at some testcases?

@nirupama1
you have marked the wrong question for your doubt .since you raised this doubt under winning CB scholarship problem, but your solution seems to be of next permutation, and i am unable to see that problem unless you raise this doubt under that problem only. please recheck.

thanks.

sorry for the confusion. The doubt is actually in next permutation.

The doubt is not solved yet!

@nirupama1
please create this doubt under next permutation problem :slight_smile: