AlgoMaster Logo

Next Permutation

nums=[1, 2, 3]
0 / 6
123i0121find pivot2find successor3swap4reverse suffix
algomaster.io
Step:Start of algorithm