AlgoMaster Logo

Sum of Two Integers

a=1,b=2
0 / 6
algomaster.io
Step:Add 1 + 2 without the + operator: XOR adds each column without carry, AND shifted left is the carry. Repeat until the carry dies out