swapnanildutta / Hackerrank-Codes

Here are some of the solutions to HackerRank questions.
MIT License
70 stars 196 forks source link

Sum Of Two Integers Questions #359

Closed ytnoahn closed 4 years ago

ytnoahn commented 4 years ago

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.

Example 1:

Input: a = 1, b = 2 Output: 3 Example 2:

Input: a = -2, b = 3 Output: 1

swapnanildutta commented 4 years ago

Please add the entire question on top as a comment. Check the other codes in the repository for reference.