Skip to content

Commit b4cb580

Browse files
authored
Update readme.md
1 parent 232663c commit b4cb580

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/g0001_0100/s0080_remove_duplicates_from_sorted_array_ii

1 file changed

+2
-0
lines changed

src/main/java/g0001_0100/s0080_remove_duplicates_from_sorted_array_ii/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ The judge will test your solution with the following code:
1616

1717
int[] nums = [...]; // Input array
1818
int[] expectedNums = [...]; // The expected answer with correct length
19+
1920
int k = removeDuplicates(nums); // Calls your implementation
21+
2022
assert k == expectedNums.length;
2123
for (int i = 0; i < k; i++) {
2224
assert nums[i] == expectedNums[i];

0 commit comments

Comments
 (0)