NetRom Software interview question

Bits operations