---
title: "Discussion on \"581. Shortest Unsorted Continuous Subarray\" | Hashnode"
description: "Discussion on \"581. Shortest Unsorted Continuous Subarray\". https://leetcode-cn.com/problems/shortest-unsorted-continuous-subarray/\nproblem\n\nGiven 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 asce..."
url: "https://hashnode.com/posts/581-shortest-unsorted-continuous-subarray/6109721dcfe20703b4e079fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [581\. Shortest Unsorted Continuous Subarray](https://xiaok.me/581-shortest-unsorted-continuous-subarray?utm_source=hashnode&utm_medium=feed)

https://leetcode-cn.com/problems/shortest-unsorted-continuous-subarray/ problem 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 asce...

Aug 3, 2021 · 2 min read · xiaok.me  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[xiao kun](https://hashnode.com/@shalk)

@shalk

  
[View profile](https://hashnode.com/@shalk)

coding your life

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
