public class Solution { public void swap(int[] a, int l, int r){ int o = a[l]; a[l]=a[r]; a[r]=o; } public int[] FindNumsAppearOnce (int[] array) { // write code here int[]a=new int[2]; int x=array[0]; //将数组中所有数字做异或处理 //由于相...