add remove duplicate from sorted array2

Signed-off-by: WanBin <ouyangwanbin@gmail.com>