
Remove
不刷脸皮要刷题
这个作者很懒,什么都没留下…
展开
-
remove element
Remove系列: two pointers类型转载 2014-11-10 03:28:55 · 332 阅读 · 0 评论 -
remove duplicates from sorted list, remove nth node
Linkedlist中的remove,记得要构造fakehead!转载 2014-11-10 03:40:55 · 293 阅读 · 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 · 247 阅读 · 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 · 232 阅读 · 0 评论