摘要: 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 @ 2017-04-12 23:11 璨璨要好好学习 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find how many unique pairs in the array such that their sum is equal to a specific target number. Please return the number 阅读全文
posted @ 2017-04-12 21:55 璨璨要好好学习 阅读(718) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find how many pairs in the array such that their sum is less than or equal to a specific target number. Please return the 阅读全文
posted @ 2017-04-12 05:11 璨璨要好好学习 阅读(608) 评论(0) 推荐(0) 编辑