Skip to content

Commit c53a90d

Browse files
committed
Update merge-sorted-array.js
1 parent 90d15a0 commit c53a90d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

leetcode/merge-sorted-array.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
/**
2+
* 地址:https://leetcode.com/problems/merge-sorted-array/
13

2-
// 地址:https://leetcode.com/problems/merge-sorted-array/
4+
* Question:Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.
35

4-
// 题目:Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.
5-
6-
// Note:
7-
// You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional elements from nums2. The number of elements initialized in nums1 and nums2 are m and n respectively.
6+
* Note:
7+
* You may assume that nums1 has enough space (size that is greater or equal to m + n)
8+
* to hold additional elements from nums2.
9+
* The number of elements initialized in nums1 and nums2 are m and n respectively.
10+
*
11+
* /

0 commit comments

Comments
 (0)