Add Strings - Python Solution @ LeetCode
Add Strings, is a LeetCode problem. In this post we will see how we can solve this challenge in Python
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2.
The length of both num1 and num2 is < 5100. Both num1 and num2 contains only digits 0-9. Both num1 and num2 does not contain any leading zero. You must not use any built-in BigInteger library or convert the inputs to integer directly. ....
You can find the full details of the problem Add Strings at LeetCode
Solution: Please check the main.py snippet for the solution.
This solution originally posted at: Github by @kamyu104