![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 154 阅读 · 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 · 131 阅读 · 0 评论