Flipping bits

  • + 0 comments

    JAVA code

    public static long flippingBits(long n) {
    // Write your code here
    

    return n ^ 0xFFFFFFFFL; }