Add solution to remove duplicated from sorted array