摘要: public static int binarySearch(int []array,int target){ //查找范围起点 int start=0; //查找范围终点 int end=array.length-1; //查找范围中位数 int mid; //迭代进行二分查找 while(sta 阅读全文
posted @ 2021-08-03 23:59 Hala 阅读(22) 评论(0) 推荐(0) 编辑