Skip to content

Commit 41fb88f

Browse files
committed
Format definition
1 parent 930d76b commit 41fb88f

File tree

1 file changed

+8
-4
lines changed
  • lib/src/easy/26.remove_duplicates_from_sorted_array

1 file changed

+8
-4
lines changed

lib/src/easy/26.remove_duplicates_from_sorted_array/problem.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,19 @@ Example 1:
3434

3535
Input: nums = [1,1,2]
3636
Output: 2, nums = [1,2,_]
37-
Explanation: Your function should return k = 2, with the first two elements of nums being 1 and 2 respectively.
38-
It does not matter what you leave beyond the returned k (hence they are underscores).
37+
Explanation: Your function should return k = 2,
38+
with the first two elements of nums being 1 and 2 respectively.
39+
It does not matter what you leave beyond the returned k
40+
(hence they are underscores).
3941

4042
Example 2:
4143

4244
Input: nums = [0,0,1,1,1,2,2,3,3,4]
4345
Output: 5, nums = [0,1,2,3,4,_,_,_,_,_]
44-
Explanation: Your function should return k = 5, with the first five elements of nums being 0, 1, 2, 3, and 4 respectively.
45-
It does not matter what you leave beyond the returned k (hence they are underscores).
46+
Explanation: Your function should return k = 5,
47+
with the first five elements of nums being 0, 1, 2, 3, and 4 respectively.
48+
It does not matter what you leave beyond the returned k
49+
(hence they are underscores).
4650

4751

4852
Constraints:

0 commit comments

Comments
 (0)