Find If Array Can Be Sorted Leetcode Interview 150