Find if Array Can Be Sorted

mediumSolve on LeetCode
Last edited: August 2, 2025