摘要: 阅读全文
posted @ 2016-08-19 19:22 行动派 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 选择排序: public static void selectSort(int[]a) { int minIndex=0; int temp=0; if((a==null)||(a.length==0)) return; for(int i=0;i0; j--) { if (arr [j]>=arr[j-1]) { ... 阅读全文
posted @ 2016-08-19 18:36 行动派 阅读(127) 评论(0) 推荐(0) 编辑