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 )

答案:登入後查看
統計: A(3), B(13), C(8), D(2), E(0) #2927216

詳解 (共 3 筆)

#5487150
下列各項中,當n≤2時,T(n)為常數。...
(共 194 字,隱藏中)
前往觀看
0
0
#7244958
這是一道關於演算法複雜度分析的經典題目,...
(共 2601 字,隱藏中)
前往觀看
0
0
#5783752
Practice Problems Fo...
(共 444 字,隱藏中)
前往觀看
0
0