摘要: 题目描述:(链接)Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It do... 阅读全文
posted @ 2015-10-03 14:00 skycore 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 题目描述:(链接)Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives th... 阅读全文
posted @ 2015-10-03 13:29 skycore 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题目描述:(链接)Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three intege... 阅读全文
posted @ 2015-10-03 11:31 skycore 阅读(126) 评论(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.No... 阅读全文
posted @ 2015-10-03 11:14 skycore 阅读(134) 评论(0) 推荐(0) 编辑