摘要: import java.util.Arrays;public class quickSort { public static void main(String[] args) { int[] ary=new int[]{8,2,3,7,1,22,11,5,9,10,33}; go(ary,0,ary 阅读全文
posted @ 2020-03-09 22:45 Jerry2019717 阅读(76) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;public class SortDemo { public static void main(String[] args) { int ary[]=new int[]{8,2,3,7,1,5}; selSort(ary); System.out.pr 阅读全文
posted @ 2020-03-09 13:29 Jerry2019717 阅读(52) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;public class SortDemo { public static void main(String[] args) { int[] ary=new int[]{8,2,5,7,3,1}; //从小到大排序,并输出 //Arrays.sort( 阅读全文
posted @ 2020-03-09 13:25 Jerry2019717 阅读(72) 评论(0) 推荐(0) 编辑