Update and rename deleteDuplicatesFromSortedArray2 to Remove Duplicates from Sorted Array II