Find if Array Can Be Sorted

mediumSolve on LeetCodeLast edited: August 2, 2025