Pergunta de entrevista da empresa Amazon

In an array in which elements appear multiple times, it is guaranteed that all elements except one will appear an even number of times. Find the element that appears an odd number of times.

Resposta da entrevista

Sigiloso

23 de fev. de 2015

XOR the entire array... the result would be the answer.