Skip to main content
Add Two Numbers | AlgoCracked
AlgoCracked
ProblemsAdd Two Numbers
Medium42.0% acceptance
Blind75Linked ListMathRecursion

Add Two Numbers

Two non-negative integers are stored as linked lists with digits in reverse order (least-significant first). Add them and return the sum as a linked list in the same form. Input format Input is [l1, l2] , e.g. [[2,4,3],[5,6,4]] represents 342 + 465. ListNode is predefined.

Loading workspace…