What's the wrong this code


#1


what’s the wrong this code anyone please help

Comment body goes here.


#2

You cannot sort the array. The relative position of the elements in the array (other than the value to be remove) is not expected to change.