2021年4月15日
摘要: 快速排序 public class QuickSort { public static void quickSort(int[] list){ quickSort(list, 0, list.length-1); } private static void quickSort(int[] list, 阅读全文
posted @ 2021-04-15 16:25 LuckyJane 阅读(37) 评论(0) 推荐(0)
摘要: 排序算法 冒泡排序 public class BubbleSort { public static void bubbleSort(int[] list){ boolean flag = true; for (int i = 1; i < list.length && flag; i++) { fl 阅读全文
posted @ 2021-04-15 15:45 LuckyJane 阅读(50) 评论(0) 推荐(0)