Question d’entretien chez Lucid Motors

How to remove the duplicates from a sorted array?