Solved remove duplicate from sorted list.