54. Among the following items, when n ≤ 2, T(n) is a constant. When using the master theory to solve the following items, which item is WRONG?
(A) T(n) = 2T(n / 2) + n 4 = Θ(n 4 )
(B) T(n) = 16T(n / 4) + n 2 = Θ(n 2 )
(C) T(n) = T(7n / 10) + n = Θ(n)
(D) T(n) = 7T(n / 3) + n 2 = Θ(n 2 )
詳解 (共 2 筆)
未解鎖
下列各項中,當n≤2時,T(n)為常數。...
未解鎖
Practice Problems Fo...