核心代码
流程图
问题:循环条件不能错,while循环判断条件为high>=low并且每次要么low=mid+1要么high=mid-1
二分查找
原文:https://www.cnblogs.com/1518818554zjh/p/12046174.html