LeetCode: two sum