摘要: 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 @ 2016-09-18 06:33 Grandyang 阅读(1552) 评论(0) 推荐(0)
摘要: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of 阅读全文
posted @ 2016-09-18 05:33 Grandyang 阅读(1418) 评论(0) 推荐(0)
Fork me on GitHub