HSBC interview question

How will you identify first non duplicate element from an array