Add Two Strings

Given two non-negative integers, represented as strings, return their sum as a string.

Statement

Given two non-negative numbers as strings. Implement a function that takes these strings as input, performs the addition, and returns the output in the form of a string.

Example

We are given two non-negative integers, “11” and “123” represented as strings. The sum of the strings is “134”.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.