摘要:
LeetCode 26 Remove Duplicates from Sorted Array与27题类似 http://www.cnblogs.com/walker-lee/p/4994950.htmlint removeDuplicates(int* nums, int numsSize) { ... 阅读全文
posted @ 2015-11-25 16:06
Walker_Lee
阅读(132)
评论(0)
推荐(0)
摘要:
LeetCode 27 Remove ElementC语言实现:相当于新设置了一个指针n,仍用原有的存储空间,存放值不等于val的elementint removeElement(int* nums, int numsSize, int val) { int n=0; for(int i... 阅读全文
posted @ 2015-11-25 15:58
Walker_Lee
阅读(426)
评论(0)
推荐(0)

浙公网安备 33010602011771号