Find If Array Can Be Sorted Leetcode Python Basic Programs