Create removeDuplicateFromSortedArray