terminal
Elevo
/
ESC
Login
Initiate Registration
code
Topics
corporate_fare
Companies
history
History
arrow_back
Back to Challenges
#371
Sum of Two Integers
Medium
Acceptance 0%
Editorial
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
Python 3
expand_more
C
C++ 17
Java
JavaScript
Python 3
C
C++ 17
Java
JavaScript
Python 3
refresh
class Solution: def getSum(self, a: int, b: int) -> int: pass
Login to Compile
Processing
terminal
Debug Output
home
Home
extension
Practice
robot_2
login
Sign In
account_circle
Menu
code_blocks
Coding
psychology
Aptitude
Navigation
close
Login
Registration