Given two non-empty singly linked lists representing non-negative integers in reverse order. Add the numbers and return the result in the same format.
Example 1
Input: l1 = [2,4,3], l2 = [5,6,4]
Output: [7,0,8]
Explanation: 342 + 465 = 807; the digits are stored in reverse order.
Output: [7,0,8]
Explanation: 342 + 465 = 807; the digits are stored in reverse order.
Example 2
Input: l1 = [0], l2 = [0]
Output: [0]
Explanation: The sum of zero and zero is zero.
Output: [0]
Explanation: The sum of zero and zero is zero.