Pregunta de entrevista de Intel Corporation

How to perform Xor in an array?