String Addition for Large Numbers

Asked at Citi · Coding Questions · Difficulty: Easy · Last asked Jul 15, 2026

Implement a function that takes two string-form numbers and returns their sum, also as a string. Assume the input strings contain only numeric characters and will not have leading zeros. Handle cases where the input strings are very long, ensuring no data loss or error in the result.

Loading the problem…