Create removeDuplicatesFromSortedArrayII