Question d’entretien chez Amadeus

Write a program to remove duplicate elements from an array.