RemoveDuplicatesFromSortedArray