Pergunta de entrevista da empresa Radware

1st interview: right a function that receive an array of integers such that every element in the array, except one, appears even number of times. you should find the one element who appears odd number of times. the solution should be in O(n) runtime complexity and O(1) memory complexity

Resposta da entrevista

Sigiloso

26 de dez. de 2019

do XOR over the whole array- the result is the answer