摘要: //两个指针从后往前扫一遍就行void merge(int A[], int m, int B[], int n) { int i = m-1,j = n - 1 ,k = m+n-1; while(i>=0&&j>=0){ if(A[i]>B[j]) A[k--] = A... 阅读全文
posted @ 2015-03-11 13:22 SprayT 阅读(70) 评论(0) 推荐(0) 编辑