摘要:
题目:Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal tom+n) to hold additional elements from B. The number of elements initialized in A and B aremandnrespectively.解题思路1:设置一个数组C,依次取A的元素i与B的元素j比较,如果B[j 阅读全文