Create test.java
parent
e27cb1fb87
commit
732d006f3b
|
|
@ -0,0 +1,14 @@
|
|||
package com.nbee.solution.solution;
|
||||
|
||||
|
||||
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