更新 test.java

master
wangsiyuan 2023-09-12 16:37:19 +08:00
parent d38af5164a
commit 7e82ef55c0
1 changed files with 2 additions and 4 deletions

View File

@ -6,11 +6,9 @@ import java.util.stream.Collectors;
public class test {
public static void main(String[] args) {
int[] nums = new int[]{3,2,2,3,1,2};
int[] nums1 = new int[]{1,2,3,0,0,0};
int length = Solution.removeElement(nums,3);
int[] nums = new int[]{1,2,3,4,4,5,6};
Solution.removeDuplicates(nums);
System.out.println(nums);
System.out.println(length);
}
}