RemoveDuplicatesFromSortedArray2 accepted