Enphase Energy interview question

Toggle bits in a word