摘要: package cn.aust.zyw.demo; /** * Created by zyw on 2016/2/15. */ public class MergeSort2 { public static void main(String args[]){ int a[]={3,2,5,6,1,7 阅读全文
posted @ 2016-02-15 21:57 不被女生喜欢好多年 阅读(157) 评论(0) 推荐(0)
摘要: package cn.aust.zyw.demo; /** * Created by zyw on 2016/2/9. */ public class Shell { public static void sort(int a[]){ int N=a.length; int h=1; while(h 阅读全文
posted @ 2016-02-15 21:53 不被女生喜欢好多年 阅读(201) 评论(0) 推荐(0)
摘要: package cn.aust.zyw.demo; /** * Created by zyw on 2016/2/9. * insert-sort */ public class Insertion { public static void sort(int [] a){ int N=a.lengt 阅读全文
posted @ 2016-02-15 21:52 不被女生喜欢好多年 阅读(263) 评论(0) 推荐(0)
摘要: package cn.aust.zyw.demo; /** * Created by zyw on 2016/2/8. * quick-sort */ public class Selection { public static void sort(int [] a){ int N=a.length 阅读全文
posted @ 2016-02-15 21:51 不被女生喜欢好多年 阅读(187) 评论(0) 推荐(0)