• + 0 comments

    long andProduct(long a, long b) {

    while(b>a){
        b &= (b-1); 
    }
    return b;
    

    }