Skip to content

Commit f2fa69f

Browse files
committed
feat: update 021
1 parent b20263c commit f2fa69f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

note/021/README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
## Description
44

5-
Given a sorted array, remove the duplicates in place such that each element appear only *once* and return the new length.
6-
7-
Do not allocate extra space for another array, you must do this in place with constant memory.
8-
9-
For example,
10-
Given input array *nums* = `[1,1,2]`,
11-
12-
Your function should return length = `2`, with the first two elements of *nums* being `1` and `2` respectively. It doesn't matter what you leave beyond the new length.
5+
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
136

147
**Tags:** Linked List
158

0 commit comments

Comments
 (0)