solve remove_duplicates_from_sorted_list