Find If Array Can Be Sorted Leetcode 7540