We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084a994 commit b787dd1Copy full SHA for b787dd1
src/main/java/com/fishercoder/solutions/_912.java
@@ -2,26 +2,6 @@
2
3
import java.util.Arrays;
4
5
-/**
6
- * 912. Sort an Array
7
- *
8
- * Given an array of integers nums, sort the array in ascending order.
9
10
- * Example 1:
11
12
- * Input: [5,2,3,1]
13
- * Output: [1,2,3,5]
14
- * Example 2:
15
16
- * Input: [5,1,1,2,0,0]
17
- * Output: [0,0,1,1,2,5]
18
19
20
- * Note:
21
22
- * 1 <= A.length <= 10000
23
- * -50000 <= A[i] <= 50000
24
- * */
25
public class _912 {
26
public static class Solution1 {
27
public int[] sortArray(int[] nums) {
0 commit comments