Pregunta de entrevista de Walt Disney Company

find the first unique element in an array