Return a + b without using + or -, only bit operations. The numbers are 32-bit signed integers; if the true sum does not fit in 32 bits, the answer wraps around like a 32-bit register: the result is the sum reduced to the range -2**31 .. 2**31 - 1.
Example 1
Input:
bit_add(1, 2)
Output:
3
Example 2
Input:
bit_add(-2, 3)
Output:
1
-2**31 <= a, b < 2**31No results yet
Run your code to check it against the examples, or submit to run every test.