11 2021 档案
摘要:1 public static int[] insertSort(int[] arr){ 2 int i,j,idx,jdx,n,ndx,flag,fdx; 3 int[] brr=new int[arr.length]; 4 5 //in 1st loop,cannot execute the l
阅读全文
摘要:1 package ACM; 2 public class Sort{ 3 public static int[] selectSort(int[] arr){ 4 int i,j,minPst,minPstIdx,jdx,temp,idx; 5 jdx=0; 6 minPstIdx=0; 7 mi
阅读全文