二分查找模板三可以进行优化
作者: guohuiyuan创建于 2024年8月2日更新于 2024年8月2日
The binary search template three can be optimized, and can be initialized as left = -1, which solves the problem of two candidates. You can refer to the video at https://www.bilibili.com/video/BV1AP41137w7/
内容来源: greyireland/algorithm-pattern