Flipping bits

  • + 0 comments
    public static long flippingBits(long n) {
    // Write your code here
        return ~n & 0xFFFFFFFFL;
    }