Approach hintTry it first, then revealHide
Walk both lists together, adding the digits and a carry, and append each result digit to a dummy-headed list. Continue while either list or the carry remains.
Walk both lists together, adding the digits and a carry, and append each result digit to a dummy-headed list. Continue while either list or the carry remains.