Bitwise interview question

SCD 2