Skip to content

Commit 8d2e3b3

Browse files
authored
Update 30. 合并两个有序数组.md
1 parent 4bb33ab commit 8d2e3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

30. 合并两个有序数组.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
***给你两个按非递减顺序排列的整数数组 nums1 和 nums2,另有两个整数 m 和 n ,分别表示 nums1 和 nums2 中的元素数目。请你 合并 nums2 到 nums1 中,使合并后的数组同样按非递减顺序排列。***
22

3-
···
3+
```
44
class Solution:
55
def merge(self, nums1: List[int], m: int, nums2: List[int], n: int) -> None:
66
"""
@@ -25,4 +25,4 @@ class Solution:
2525
nums1[tail] = nums2[p2]
2626
p2 -= 1
2727
tail -= 1
28-
···
28+
```

0 commit comments

Comments
 (0)