Delete test.java
parent
6fb29ad89e
commit
438abeca95
|
|
@ -1,17 +0,0 @@
|
||||||
package solution;
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
public class test {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
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());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue