Problem
Return the sum of the integers a and b without using the operators `+` or `-` (and without helpers like sum). Work with the bits directly.
Example 1
- Input
- a = 1, b = 2
- Output
- 3
Example 2
- Input
- a = 2, b = 3
- Output
- 5
Example 3
- Input
- a = -5, b = -7
- Output
- -12
Constraints
-1000 <= a, b <= 1000Treat the numbers as signed 32-bit integers.