摘要:
import java.util.Arrays;/** * 排序算法 * */public class SortDemo { public static void main(String[] args) { int[] ary = {3,1,4,9,2,5,6}; selectionSort(ary); System.out.println(Arrays.toString(ary)); bubbleSort(ary); System.out.println(Arrays.toString(ary)); insertionSort(ary); ... 阅读全文