Question d’entretien chez Amadeus

Code in a basic text editor how to remove duplicates from an ordered list.