We have similar post – Two numbers represented by a linked list, Number Stored in FORWARD order
Objective: Two numbers represented by a linked list where each node contains single digit. The digits are stored in REVERSE order, means head is pointing to the first digit of the number.
Input: Two numbers represented by Linked Lists
Output: Addition of two numbers represented by a Linked List.
First Number in REVERSE order: 5957 Second Number in REVERSE order : 59 Addition in REVERSE order : 0967 Actual Result in FORWARD ORDER : 9670