Given two integers a and b, return the sum of the two integers without using the operators + and -.
a = 1, b = 12a = 2, b = 35Binary addition works column by column. XOR at each bit gives the sum-without-carry. AND at each bit gives where two 1s overlap — that's the carry. Shifting the carry left by 1 places it in the correct next column. We repeat until there is no more carry (b becomes 0). This exactly mimics how hardware adders work.