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