remove duplicates from sorted list
remove duplicates from sorted list II