Pergunta de entrevista da empresa HSBC

How will you identify first non duplicate element from an array