Wrong test case doubt

20, 50, 113 → 20, 113, 50

how is this next permutation.

Yeah, this is wrong case

Click here to start solving coding interview questions