Shortest Unsorted Continuous Subarray | LeetCode 581

Published: 25 February 2021
on channel: Hustle Interviews With Ashutosh
69
8

Given an integer array nums, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order.

Return the shortest such subarray and output its length.

#competitiveprogramming #interview #interviewquestion
#coding #leetcode #programmer #tech #software #leetcode #programmingisfun


On this page of the site you can watch the video online Shortest Unsorted Continuous Subarray | LeetCode 581 with a duration of hours minute second in good quality, which was uploaded by the user Hustle Interviews With Ashutosh 25 February 2021, share the link with friends and acquaintances, this video has already been watched 69 times on youtube and it was liked by 8 viewers. Enjoy your viewing!