Presidio interview question

Find non duplicate element in array