Please correct test case

For input : 4 1 4 3 2
Output is coming : 4 1 3 2
where as it should be [2, 1, 3, 4]

Click here to start solving coding interview questions