remove_element and two_sum