Akamai interview question

find a first non duplicate object in an array