Add Two Large Integers Stored in Linked Lists (4 digits per node)

Given two non-negative integers A and B, each represented by a singly linked list. Each node stores 4 decimal digits (value in [0, 9999]). The list is ordered from the **most significant blo...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: