public class Solution { public void merge(int A[], int m, int B[], int n) { int i=0; int j=0; int p=0; int res[]=new int[m+n]; while(i<m&&j<n){ res[p++]=B[j]<A[i]?B[j++]:A[i++]; } while(i<m){ ...