Pregunta de entrevista de Pulse Secure

Finding non repeated element in the array