随笔分类 -  leetcode_twoPoint

摘要: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 @ 2017-10-14 20:05 daniel456 阅读(94) 评论(0) 推荐(0) 编辑
摘要:给定一个有序数组,原地删除重复元素,使得每个元素只出现一次,并返回新的长度。不为另一个数组分配额外空间,必须用常量内存做到这一点。 阅读全文
posted @ 2017-10-14 20:02 daniel456 阅读(100) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示