LeadSquared Interview Question

find a small non repeating integer in an array