摘要:
problem: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... 阅读全文
posted @ 2015-06-04 17:40
尾巴草
阅读(108)
评论(0)
推荐(0)
摘要:
Problems: Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],Your func... 阅读全文
posted @ 2015-06-04 10:32
尾巴草
阅读(104)
评论(0)
推荐(0)
摘要:
Prob;lem: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-06-04 10:01
尾巴草
阅读(98)
评论(0)
推荐(0)
摘要:
Problems:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra ... 阅读全文
posted @ 2015-06-04 09:32
尾巴草
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号