摘要: public class BubbleSort { /* * 冒泡排序 * * 参数说明: * a -- 待排序的数组 * n -- 数组的长度 */ public static void bubbleSort1(int[] a, int n) { int i,j; for (i=n-1; i>0; 阅读全文
posted @ 2018-02-07 14:51 一支穿云箭 阅读(180) 评论(0) 推荐(0)