Question d’entretien chez HSBC

How will you identify first non duplicate element from an array