摘要:
/** * 插入排序 */ public class InsertionSort { public static void main(String[] args) { int[] array = {3,1,4,5,2}; for (int i : Insertion(array)) { System 阅读全文
摘要:
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); } } 阅读全文
摘要:
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 阅读全文