【发布时间】:2017-02-20 08:22:22
【问题描述】:
所以我正在使用 Master 定理计算以下函数的平均案例复杂度:
T(n) = 2T (n/2)+ n/ log n
根据http://people.csail.mit.edu/thies/6.046-web/master.pdf问题7,
它说
不适用(f(n) 和 n 之间的非多项式差异 log b a )
This answer 也支持pdf,说NO。
然而,this video 导师在 12:26 解决了同样的问题,他给出了答案
Θ(nloglogn)
谁能解释一下错误以及为什么?
【问题讨论】:
标签: algorithm time-complexity master-theorem