Update test.java

This commit is contained in:
2024-07-09 21:53:33 +08:00
parent 2628f99a31
commit 5d29f810a2

View File

@@ -6,9 +6,12 @@ import java.util.stream.Collectors;
public class test {
public static void main(String[] args) {
int[] nums = new int[]{9};
int[] result = Solution.plusOne(nums);
ListNode head = new ListNode(1);
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());
}
}