@@ -0,0 +1,870 @@
+/**%0A * Definition for singly-linked list.%0A * public class ListNode %7B%0A *     int val;%0A *     ListNode next;%0A *     ListNode(int x) %7B val = x; %7D%0A * %7D%0A */%0Apublic class Solution %7B%0A    public ListNode addTwoNumbers(ListNode l1, ListNode l2) %7B%0A        if (l1 == null) return l2;%0A        if (l2 == null) return l1;%0A%0A        int sign = 0;%0A        ListNode head = new ListNode(0);%0A        ListNode tail = head;%0A        while (l1 != null %7C%7C l2 != null %7C%7C sign != 0) %7B%0A            int sum = sign;%0A            if (l1 != null) %7B%0A                sum += l1.val;%0A                l1 = l1.next;%0A            %7D%0A            if (l2 != null) %7B%0A                sum += l2.val;%0A                l2 = l2.next;%0A            %7D%0A            sign = sum / 10;%0A            sum = sum %25 10;%0A            tail.next = new ListNode(sum);%0A            tail = tail.next;%0A        %7D%0A        return head.next;%0A    %7D%0A%7D%0A

Create 002.java