Question d’entretien chez Capgemini

Write the code to remove duplicates from array.