摘要: static int BinarySearch(int[] arr,int key,int low,int high) { low = 0;high = arr.Length - 1; while(low<=high) { int mid = (low + high) / 2; if (arr[mi 阅读全文
posted @ 2016-08-16 21:13 FredGrit 阅读(533) 评论(0) 推荐(0) 编辑