Question d’entretien chez Comcast

How to print unique elements in array?