0912. Sort an Array
https://leetcode.com/problems/sort-an-array
Description
Given an array of integers nums
, sort the array in ascending order.
Example 1:
Example 2:
Constraints:
1 <= nums.length <= 5 * 104
-5 * 104 <= nums[i] <= 5 * 104
ac
Last updated