class Solution { public: void merge(int A[], int m, int B[], int n) { int k = m + n - 1; int i = m - 1; int j = n - 1; //给数组A从索引值为k处开始赋值,挑选A和B中的最大值插入到数组末尾 while(i>=0 && j>=0){ if(A[i] >= B[j]) { A[k] = A[i];...