
Remove
不刷脸皮要刷题
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
remove element
Remove系列: two pointers类型转载 2014-11-10 03:28:55 · 343 阅读 · 0 评论 -
remove duplicates from sorted list, remove nth node
Linkedlist中的remove,记得要构造fakehead!转载 2014-11-10 03:40:55 · 298 阅读 · 0 评论 -
Remove duplicates from sorted array I
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 another array, you must do this in place with转载 2014-10-09 11:28:02 · 258 阅读 · 0 评论 -
Remove duplicates from sorted array II
Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your function should return length = 5, and A is now [1,1,2,转载 2014-10-09 11:49:50 · 242 阅读 · 0 评论