You are given two non-empty linked lists, l1 and l2, representing two non-negative integers. The digits are stored in reverse order, and each node contains a single digit. Add the two numbers and return the sum as a linked list, in the same reversed-digit form.
You may assume neither number has a leading zero, except the number 0 itself.
Input / output
l1: ListNode, l2: ListNode (JSON test fixtures are plain arrays of digits, least-significant digit first, e.g. [2, 4, 3] means the number 342)ListNode — the sum, digits in the same reversed order (serialized the same way)0 <= node value <= 9Can you do this in a single pass with O(1) extra space beyond the output list, without ever converting either list to an integer (which would fail for arbitrarily large numbers)?