Given an integer array `nums`, find the length of the shortest continuous subarray such that sorting this subarray in non-decreasing order makes the entire array sorted.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.