package oj.leetcode.list;

public class ListNode {
	
	public int val;
	public ListNode next = null;

	public ListNode(int val) {
		this.val = val;
		this.next = null;
	}
	
}

@@ -177,11 +177,102 @@
 %0A%09%7D%0D%0A%09%0D%0A
+%09public ListNode(int val, ListNode next) %7B%0D%0A%09%09this.val = val;%0D%0A%09%09this.next = next;%0D%0A%09%7D%0D%0A%09%0D%0A
 %7D%0D%0A

define a new contructor with two parameters