摘要:
如题,一个二分法查找的使用实例。直接给出代码:public class erfenTest { public static void main(String[] args) { // TODO Auto-generated method stub int[] a = {1,2,3,4,5,6}; int key = 6; System.out.println(findkey(a,key)); } public static int findkey(int[] a, int key) { ... 阅读全文
posted @ 2013-10-31 01:48
Liverfly
阅读(326)
评论(0)
推荐(0)

浙公网安备 33010602011771号