arrow_back Back to Challenges

#371 Sum of Two Integers

Medium Acceptance 0%
description

Problem Description

Given two integers `a` and `b`, return the sum of the two integers without using the operators `+` and `-`.

checklist Constraints

-1000 <= a, b <= 1000

science Examples

Case #1

In: a = 1 b = 2
Out: 3

Case #2

In: a = 2 b = 3
Out: 5

Mastery Tags

Bit Manipulation Math

Hiring Companies

Amazon Google Meta
code

Integrated IDE

code_blocks
Coding
psychology
Aptitude