Question d’entretien chez Capgemini

You have an array of elements and you have to remove duplicate elements from the array. Explain the pseudo code