Amazon interview question

Bit manipulation question based upon xor of individual bits