摘要: package com.yk.sort; public class Bubble { public static void bubbleSort(int[] array){ for (int i = 0; i array[j + 1]){ int temp = array[j + 1]; ... 阅读全文
posted @ 2016-05-13 11:43 活下去 阅读(112) 评论(0) 推荐(0) 编辑
摘要: package com.yk.sort; public class Fast { public static void fastSort(int left, int right, int[] array){ if(left >= right) return; int povit = array[left];//基准数 ... 阅读全文
posted @ 2016-05-13 11:33 活下去 阅读(175) 评论(0) 推荐(0) 编辑