二分 个人理解

/*                        我是一个刚开始学习算法的rookie,ps:不是那个战队翻译   --             */

---------------------- 算法 3:二分

 个人拙见,说的不对欢迎批评指正

 

二分,在我看来就是用来代替枚举在一组数中查找一个符合条件的数,时间复杂度为O(log n)。

题目:

T1  入门之二分查找  https://blog.csdn.net/weixin_42765557/article/details/84673142

T2  N个数中找两个数相加结果为制定数  https://blog.csdn.net/weixin_42765557/article/details/84673561

T3  Pie  https://blog.csdn.net/weixin_42765557/article/details/84675572

T4  Can you find it ?   https://blog.csdn.net/weixin_42765557/article/details/84699351

猜你喜欢

转载自blog.csdn.net/weixin_42765557/article/details/84700148
今日推荐