Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1016 Bytes

File metadata and controls

64 lines (39 loc) · 1016 Bytes

English Version

题目描述

给定一个整数数组 nums,将该数组升序排列。

 

示例 1:

输入:[5,2,3,1]
输出:[1,2,3,5]

示例 2:

输入:[5,1,1,2,0,0]
输出:[0,0,1,1,2,5]

 

提示:

  1. 1 <= A.length <= 10000
  2. -50000 <= A[i] <= 50000

解法

Python3

Java

...