add remove duplicate from sorted array 2