Pergunta de entrevista da empresa SAS

How would you delete duplicate entries in a presorted array?