HSBC Interview Question

How will you identify first non duplicate element from an array