I think my output is right,but expected answer is [1,8]. why?
I met the same problem,so...
I think that if l1 is 0,then return l2; if l2 is 0,then return l1;
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.