摘要:
``` package Test01; public class InsertSort { public static void main(String[] args) { int[] arr = { 3, 2, 9, 8, 7, 2, 2, 0, 0 }; // 要排序的数组 InsertionSort(arr); for (int i : arr) { ... 阅读全文
posted @ 2019-03-07 18:35
Suppperfly
阅读(113)
评论(0)
推荐(0)
摘要:
``` package Test01; public class BubbleSort { public static void main(String[] args) { int[] arr = {1,3,2,9,8,7,1,0}; //要排序的数组 for (int i : arr) { //未排序 System.out.print... 阅读全文
posted @ 2019-03-07 16:14
Suppperfly
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号