Sum of Two Integers Bit Problem
Sum of Two Integers Bit Problem — ExecCode Easy DSA Practice
Solve the Sum of Two Integers Bit problem on ExecCode. Free online easy DSA practice in Math. Write and run code in Java, C++, Python — no signup required to run.
Problem description
Description You are given two integers a and b, return the sum of the two integers without using the operators + and -.
Examples
Input {"a": 1, "b": 2}; Output 3. Input {"a": 5, "b": 3}; Output 8. Input {"a": 10, "b": 20}; Output 30
Constraints
-1000 <= a, b <= 1000
Practice Sum of Two Integers Bit free on ExecCode. Browse DSA problems, topic map, and placement guides.