Why i'm failing in test case 2

HERE IS THE CODE

you have to inverse the array
but you are reversing the array

both the different
read question once again