add second trial of remove-duplicates-from-sorted-array