Update test.java
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user