Givenanarrayofintegers nums,sortthearrayinascendingorder.
Example1:
Input: [5,2,3,1]
Output:[1,2,3,5]
Example2:
Input:[5,1,1,2,0,0]
Output:[0,0,1,1,2,5]
Note:
1<=A.length<=10000
-50000<=A[i]<=50000
这道题让我们给数组排序,在平时刷其他题的时候,遇到要排序的时候,一般都会调用系统自带的排