2018年2月27日

015 3Sum 三个数的和为目标数字

摘要: 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 @ 2018-02-27 17:00 lina2014 阅读(139) 评论(0) 推荐(0) 编辑

001 Two Sum 两个数的和为目标数字

摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exa 阅读全文

posted @ 2018-02-27 10:39 lina2014 阅读(180) 评论(0) 推荐(0) 编辑

导航