上一页 1 ··· 39 40 41 42 43

2017年10月4日

4sum

摘要: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic 阅读全文

posted @ 2017-10-04 19:32 wsw_seu 阅读(118) 评论(0) 推荐(0) 编辑

3Sum

摘要: 2017-10-04 16:30:13 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 whi 阅读全文

posted @ 2017-10-04 16:44 wsw_seu 阅读(97) 评论(0) 推荐(0) 编辑

2017年10月3日

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 ex 阅读全文

posted @ 2017-10-03 19:28 wsw_seu 阅读(140) 评论(0) 推荐(0) 编辑

上一页 1 ··· 39 40 41 42 43

导航