Skip to content

Commit f8382f4

Browse files
author
lanyuanxiaoyao
committed
修改文件: _posts/2016-10-10-remove-duplicates-from-sorted-array.md
1 parent 860d2bd commit f8382f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_posts/2016-10-10-remove-duplicates-from-sorted-array.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ categories: LeetCode
66
tags: [LeetCode,Easy,数组]
77
---
88

9+
* content
10+
{:toc}
11+
12+
913
>Given a sorted array, remove the duplicates in place such that each element appear only *once* and return the new length.
1014
Do not allocate extra space for another array, you must do this in place with constant memory.
1115
给定一个已排序的数组,去掉其中重复的元素,使得每个元素只出现一次,并返回新数组的长度。

0 commit comments

Comments
 (0)