Enphase Energy Interview Question

Toggle bits in a word