371. Sum of Two Integers
Given two integers a
and b
, return the sum of the two integers without using the operators +
and -
.
Example 1:
Example 2:
Constraints:
-1000 <= a, b <= 1000
Solution:
Given two integers a
and b
, return the sum of the two integers without using the operators +
and -
.
Example 1:
Example 2:
Constraints:
-1000 <= a, b <= 1000
Solution: