摘要: 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 doesn't mat... 阅读全文
posted @ 2013-11-13 11:11 七年之后 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 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 space for... 阅读全文
posted @ 2013-11-13 10:21 七年之后 阅读(165) 评论(0) 推荐(0) 编辑