my code is not passing for the last test case
I think the answer corresponding to fourth test case is wrong
hi
check for this
5
1 5 8 4 3
ur output
1 5 3 4 8
actual ans
1 5 3 8 4
u r actually fully sorting the order also
my code is not passing for the last test case
hi
check for this
5
1 5 8 4 3
ur output
1 5 3 4 8
actual ans
1 5 3 8 4
u r actually fully sorting the order also