• + 0 comments

    Solution in JS:

    function flippingBits(n) {

    return (~n) >>> 0;
    

    }