31. NEXT PERMUTATION

Permutation : The possible rearrangements of elements in an array are called permutations.