java 二分法查找数组
摘要:
二分法适用于有序的序列 public static void dichotomy(int num){ int[] li = {-2,-1,0,1,2,3,4,5,6,7,8,9}; int start = 0; int end = li.length -1; boolean isFind = fal 阅读全文
posted @ 2022-01-06 14:35 yan061 阅读(47) 评论(0) 推荐(0)
浙公网安备 33010602011771号