[twoSum] O(n2) version, Time Limit Exceeded.