更新 test.java
parent
d38af5164a
commit
7e82ef55c0
|
|
@ -6,11 +6,9 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
public class test {
|
public class test {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
int[] nums = new int[]{3,2,2,3,1,2};
|
int[] nums = new int[]{1,2,3,4,4,5,6};
|
||||||
int[] nums1 = new int[]{1,2,3,0,0,0};
|
Solution.removeDuplicates(nums);
|
||||||
int length = Solution.removeElement(nums,3);
|
|
||||||
System.out.println(nums);
|
System.out.println(nums);
|
||||||
System.out.println(length);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue