accepted merge_list, remove_duplicate,remove element,swap pairs