平凡之路

继往圣绝学,当涌泉相报。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年7月3日

摘要: 查找算法之线性查找 class Untitled { public static void main(String[] args) { //线性查找 效率低 需要遍历全部 int[] arr = new int[]{3,4,2,1,5,6}; int target = 1; int index = 阅读全文
posted @ 2020-07-03 22:49 Hxx(加油版) 阅读(193) 评论(0) 推荐(0) 编辑