摘要: 1 public class SortTest { 2 public static void main(String[] args) { 3 int[] source = {7,2,3,4,1,-1,6}; 4 //bubbleSort(source); 5 //selectSort(source); 6 insertSort(source); 7 for(int i = 0; i 0 ; i--) {33 exchange = false;34 for(... 阅读全文
posted @ 2014-03-07 15:50 soul390 阅读(182) 评论(0) 推荐(0)