remove duplicate from sorted array
remove duplicate from sorted array