摘要: 【题目】Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. Y... 阅读全文
posted @ 2015-04-27 18:01 hwu_harry 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 【题目】Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:El... 阅读全文
posted @ 2015-04-27 16:15 hwu_harry 阅读(142) 评论(0) 推荐(0) 编辑