摘要: 1 /** 2 * 03/09/2014 3 * 4 * @author Burke 5 * 6 */ 7 public class Sort { 8 9 public static void main(String[] args) {10 int[] source = {4, 2, 1, 6, 3, 6, 0, -5, 1, 1};11 dichotomySort(source);12 for (int i = 0; i temp) {42 right = mid - 1; //... 阅读全文
posted @ 2014-03-09 22:38 soul390 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 03/09/2014 3 * @author Burke 4 * 5 */ 6 public class ShellSort { 7 8 public static int[] a = {49,38,65,97,76,13,27,49,55,04}; ... 阅读全文
posted @ 2014-03-09 20:53 soul390 阅读(231) 评论(0) 推荐(0) 编辑