@@ -0,0 +1,811 @@
+/**%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        ListNode tail = new ListNode(0);%0A        ListNode res = tail;%0A        int a, b, c = 0;%0A        while(true)%7B%0A            a = (l1 != null)? l1.val: 0;%0A            b = (l2 != null)? l2.val: 0;%0A            tail.val = (a + b + c)%2510;%0A            c = (a+b+c)/10;%0A            l1 = (l1 != null)? l1.next: l1;%0A            l2 = (l2 != null)? l2.next: l2;%0A            if(l1 != null %7C%7C l2 != null %7C%7C c != 0)%7B%0A                tail.next = new ListNode(0);%0A            %7Delse%7B%0A                break;%0A            %7D%0A            tail = tail.next;%0A        %7D%0A        return res;%0A    %7D%0A%7D

Add Two Numbers