会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Hala
Do one thing at a time, and do well!
博客园
首页
新随笔
联系
订阅
管理
2021年8月3日
二分查找模版
摘要: 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)
编辑
公告