转载自:https://leetcode-cn.com/problems/search-insert-position/solution/te-bie-hao-yong-de-er-fen-cha-fa-fa-mo-ban-python-/
leetcode 69 x的平方根
十分好用的二分查找法模板
原文:https://www.cnblogs.com/doyi111/p/11787798.html