阅读背景:

如何计算二分查找复杂度?

来源:互联网 

I heard somebody say that since binary search halves the input required to search hence it is log(n) algorithm. Since I am not from a mathematics background I am not able to relate to it. Can somebody explain it in a little more detail? does it have to do something with the logarithmic series? I heard somebody say that since binary search h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: