Basis Technologies interview question

Delete duplicates in a sorted array