摘要: 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 @ 2018-03-07 18:34 真的是从入门开始 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Given an array and a value, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you 阅读全文
posted @ 2018-03-07 15:27 真的是从入门开始 阅读(119) 评论(0) 推荐(0) 编辑