Search⌘ K
AI Features

Shortest Unsorted Continuous Subarray

Try to solve the Shortest Unsorted Continuous Subarray problem.

Statement

Given an integer array nums, return the length of the shortest contiguous subarray such that sorting ...