complete problems/remove-element/ by iterate