java常用算法
摘要:
插入排序:packageorg.rut.util.algorithm.support;importorg.rut.util.algorithm.SortUtil;publicclassInsertSort implements SortUtil.Sort{/* (non-Javadoc) * @see org.rut.util.algorithm.SortUtil.Sort#sort(int[]) */publicvoidsort(int[] data) {inttemp;for(inti=1;i<data.length;i++){for(intj=i;(j>0)&& 阅读全文
posted @ 2012-12-25 18:06 Code changes life 阅读(12156) 评论(1) 推荐(1) 编辑