One test case is failing, I cant figure out what i missed.
Is Sorted array
Remove the code for checking the descending array. You just need to check if it is in ascending order or not.
One test case is failing, I cant figure out what i missed.
Remove the code for checking the descending array. You just need to check if it is in ascending order or not.