摘要:
/** * 插入排序 */ public class InsertionSort { public static void main(String[] args) { int[] array = {3,1,4,5,2}; for (int i : Insertion(array)) { System 阅读全文
posted @ 2021-10-13 12:43
code-G
阅读(37)
评论(0)
推荐(0)
摘要:
public class BubbleSort { public static void main(String[] args) { int[] array = {3,1,4,5,2}; for (int i : Bubble(array)) { System.out.println(i); } } 阅读全文
posted @ 2021-10-13 12:31
code-G
阅读(29)
评论(0)
推荐(0)
摘要:
public class SelectionSort { public static void main(String[] args) { int[] array = {1,3,4,8,7,4,6,9,0}; for (int i : Selection(array)) { System.out.p 阅读全文
posted @ 2021-10-13 12:10
code-G
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号