bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
MediumBit ManipulationLC 371

Sum of Two Integers

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

Asked at 5 companies
AmazonAppleFacebook
Hints
  • 1.Think about what data structure fits Sum of Two Integers
  • 2.Consider the brute force complexity and how to optimize
  • 3.Can you trade space for time?
LeetCodeNeetCode