One test case failed

Check the code what is the mistake ?

@saiyamgoyal1903 array is called sorted when it is non decreasing means getting equal to is also valid but your code is giving false for this case. update your code for this it will work fine.