@@ -0,0 +1,980 @@
+# Definition for singly-linked list.%0A# class ListNode(object):%0A#     def __init__(self, x):%0A#         self.val = x%0A#         self.next = None%0A%0A%0Aclass Solution(object):%0A    def addTwoNumbers(self, l1, l2):%0A        %22%22%22%0A        :type l1: ListNode%0A        :type l2: ListNode%0A        :rtype: ListNode%0A        %22%22%22%0A%0A        pre_result = ListNode(0)%0A        current = pre_result%0A        carry = 0%0A%0A        while l1 is not None and l2 is not None:%0A            sum_val = l1.val + l2.val + carry%0A            current.next = ListNode(sum_val %25 10)%0A            carry = sum_val / 10%0A            current = current.next%0A            l1 = l1.next%0A            l2 = l2.next%0A%0A        l = l1 or l2%0A%0A        while l is not None:%0A            sum_val = l.val + carry%0A            current.next = ListNode(sum_val %25 10)%0A            carry = sum_val / 10%0A            current = current.next%0A            l = l.next%0A%0A        if carry %3E 0:%0A            current.next = ListNode(carry)%0A%0A        return pre_result.next%0A

2. Add Two Numbers