darrenfu/LeetcodePy

Facebook

Closed this issue · 0 comments

12/12/2019

415. Add Strings

Limitations:

  1. Both numbers are positive and could be very long;
  2. Integer addition and multiplication could overflow, which means you could not simply sum the multiplied numbers via result += prod, you have to do multi-large-integer addition digit by digit.