3sum, remove duplicate while iteration