News for hackers. Stuff that matters.
Re:Python coding interview challenges by recursive on Monday April 03, 2017 @03:22PM (#14026175)
And if you need to handle negatives:

    def add(a, b):
        while a and b:
            if a ^ b < 0: (a, b) = (a & ~b, b & ~a)
            (a, b) = (a ^ b, (a & b) << 1)
        return a or b

There are no comments on this comment yet.