- 博客(2)
- 收藏
- 关注
原创 配置备忘
manven setting.xml <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional inform
2017-03-27 21:22:50 446
原创 靠近左、右的二分搜索例程
靠近左:只有当arr[mid]>1),最后位置在lo 靠近右:只有当arr[mid]>target时才向左,上界hi推进,mid=lo+((hi-lo+1)>>1),最后位置在hi public class test649 { public static void main(String[] args) { int[] arr={1,1,1,1,2,2,3,4,5,6,6
2017-03-22 16:27:17 360
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人