Question d’entretien chez Wipro

They asked me to remove duplicates from an array.