AlgoMaster Logo

Shortest Unsorted Continuous Subarray

nums=[2, 6, 4, 8, 10, 9, 15]
0 / 7
algomaster.io
Step:Sort a copy, then compare with the original to find where they differ.