Back to Question
Shortest Unsorted Continuous Subarray (Array/Pointers)
Question Explain
Given an integer array, you need to find one continuous subarray that, if you only sort this subarray, the whole array will be sorted. Find its length.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.