Sum of Two Integers
@LHearen said in A summary: how to use bit manipulation to solve problems easily and efficiently:
Definitely I should up-vote this post! :-)
How to explain the corner case b==0?
@xinyufeng16 Sorry, there was a typo, in the that line. It should be
We do not need MIN in this case, right ? Why it`s added here ? Is it widely used in other bit manipulation problems ? Could you explain more for the usage of MIN here ?
@steve.j.sun How to explain the corner case b==0?
No one has replied
This this so hard to do in python. Doing the same thing as in C or C++ doesnt work in python
@zeinsteinz Hi do you mind sharing what '-' are you referring to? I cannot find the bug.
Agreed, definitely took me a lot longer than i had originally anticipated.
wtf, it passed. I thought he was joking~~~
How to explain the corner case carry==0?
you don't need else
This really help, thank you!
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.