import java.util.*; public class Solution { public static int findMode (int[] weightsA, int[] weightsB) { int m = weightsA.length; int n = weightsB.length; int[] res = new int[m + n]; System.arraycopy(weightsA,0,res,0,m); System.arraycopy(weightsB,0,res,m,n);//多了一步变成一个数组,也可以不变 HashMap<Integer,Int...