全部博文(161)
发布时间:2015-03-13 18:30:54
参考http://wenku.baidu.com/link?url=7NHhp2B2W7yspjiRC6g7lEhwoMfRog4Tou9nZIIMGkExm-rJKQhws9Pp_A-hsEajCfnTfCbUCPLCXXjXM_a-2Pztquio8DyFzU8HGtYtd2m......【阅读全文】
发布时间:2015-03-12 13:05:07
public void bubbleSort(int[] array) {if(array == null) return; int length = array.length;for(int i=0; i<length-1; i++){for(int j=0; j<length-i-1; i++){if(array[j] < array[j+1]){int temp = array[j];array[j+1] = array[j];array[j] = temp;}}}.........【阅读全文】
发布时间:2015-03-11 15:03:34
参考http://blog.csdn.net/hguisu/article/details/8683290......【阅读全文】