/** * * @param A int整型一维数组 * @param B int整型一维数组 * @return void */ function merge(A, m, B, n) { // write code here let p2 = n - 1, p1 = m - 1, p = m + n - 1; while (p >= 0) { if (p2 < 0 || p1 < 0) { ...