【发布时间】:2013-05-16 21:08:38
【问题描述】:
我正在尝试使用主定理及其递归概念来解决递归关系以找出算法的复杂性,我该如何证明:
T(n) = T(n/2)+O(1)
是
T(n) = O(log(n)) ?
任何解释都将不胜感激!
【问题讨论】:
-
Master theorem。情况 2。a = 1 和 b = 2。
标签: algorithm complexity-theory big-o recurrence master-theorem