Flipping bits

  • + 0 comments
    def flippingBits(n):
        # Write your code here
        return n ^ (2**32 - 1)