Tag: 371 Sum of Two Integers

  • LeetCode: 371 Sum of Two Integers

    Given two integers a and b, return the sum of the two integers without using the operators + and -. Example: Input: a = 1, b = 2 Output: 3 Example: Input: a = 2, b = 3 Output: 5 问题 给定两个整数 a 和 b,在不使用 + 和 – 运算符的情况下,返回两个整数的和。 解决方案…