Update test.java
parent
2628f99a31
commit
5d29f810a2
|
|
@ -6,9 +6,12 @@ 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[]{9};
|
ListNode head = new ListNode(1);
|
||||||
int[] result = Solution.plusOne(nums);
|
head.next = new ListNode(1);
|
||||||
|
head.next.next = new ListNode(1);
|
||||||
|
head.next.next.next = new ListNode(2);
|
||||||
|
|
||||||
|
ListNode result = Solution.deleteDuplicates(head);
|
||||||
System.out.println(result.toString());
|
System.out.println(result.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue