摘要: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the... 阅读全文
posted @ 2017-09-12 11:18 清澈见底 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n 阅读全文
posted @ 2017-09-12 10:11 清澈见底 阅读(121) 评论(0) 推荐(0) 编辑