Class Efervesce {public static void test1 () // o = (n-1) * (n-1) {int [] IARRAY = {10, 5, 2, 3, 321, 76, 3221, 98, 86, 39}; INT K = 0; int icount = 0; for (int J = 0; j IARRAY [i 1]) {k = ike [i]; naray [i] = IARRAY [i 1]; IARRAY [i 1] = k;} iCount ;}}
System.out.println ("Total comparison number:" iCount); for (int i = 0; i
System.out.println ("/ R / N / R / N total number of comparisons:" iCount); for (int i = 0; i