
java
fei1010
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
二分法查找
package cn.sunzn.dichotomy;public class DichotomySearch { public static void main(String[] args) { int[] arr = new int[] { 12, 23, 34, 45, 56, 67, 77, 89, 90 }; System.out.println(s转载 2016-02-21 18:04:18 · 174 阅读 · 0 评论 -
冒泡排序
public class bubbleSort { public bubbleSort(){ int a[]={49,38,65,97,76,13,27,49,78,34,12,64,5,4,62,99,98,54,56,17,18,23,34,15,35,25,53,51}; int temp=0; for(int i=0;i1;i++){转载 2016-02-21 18:18:16 · 157 阅读 · 0 评论