Pregunta de entrevista de LeadSquared

find a small non repeating integer in an array