Return 1 if the input is sorted from highest to lowest, 0 if not.
Example:
1:7 -> 0 [7 5 2] -> 1
2 players like this problem
2 Comments
2 Comments