3011. Find if Array Can Be Sorted - Solutions and Explanation | Vultr Docs