共计 692 个字符,预计需要花费 2 分钟才能阅读完成。
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1as one sorted array.
Note:
- The number of elements initialized in nums1 and nums2 are m and nrespectively.
- You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional elements from nums2.
Example:
这道题很蛋疼,它是预留足够的空间供你去使用,感觉像是合并排序,又不是那回事,仅OJ使用
正文完
请博主喝杯咖啡吧!
