Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.
Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.

Example 1:
Input: {"l1":[2,4,3],"l2":[5,6,4]}
Output: [7,0,8]
Input
arr ={"l1":[2,4,3],"l2":[5,6,4]}

Start. Init dummy node.

curr

0

NULL
l1

2

4

3

NULL
l2

5

6

4

NULL
Variables
No variables to display
DepthFunction Call
Stack empty
0/16