Create test.java
This commit is contained in:
14
src/main/java/com/nbee/solution/solution/test.java
Normal file
14
src/main/java/com/nbee/solution/solution/test.java
Normal file
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user