Question d’entretien chez LeadSquared

find a small non repeating integer in an array