Question d’entretien chez Wipro

Q: How are duplicates removed from an array without using any library?