Fixstars interview question

Bit manipulation for the coding interview.