Question d’entretien chez Quorum

How to remove duplicates from an array How can we optimize it?