Solution Does not Check for Corner Case

The solution provided does not verify for the cases like say
l1: 1 0 0
l2 : 5 0

the output is 6 0 0 the answer should be 6 in this case.

Digits are stored in reverse order . So, 005 and 001 doesn’t make sense.

Click here to start solving coding interview questions