Skip to content

Facebook&字节&leetcode415:字符串相加 #32

Description

@sisterAn

给定两个字符串形式的非负整数 num1num2 ,计算它们的和。

例如:

"111" + ”2222“ = ”2333“

注意:

  • num1num2 的长度都小于 5100
  • num1num2 都只包含数字 0-9
  • num1num2 都不包含任何前导零
  • 你不能使用任何內建 BigInteger 库, 也不能直接将输入的字符串转换为整数形式

附赠leetcode地址:leetcode

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions