2.Consider two algorithms whose running times T(n) satisfy the following recurrences:
Algorithm A: T(n) = 1000T(n/2) + 0(n1000)
Algorithm B: T(n) = 2T(n - 1000) + 0(1)
Then, Algorithm A is asymptotically faster than Algorithm B.
(A)O
(B)X

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#7105835
1. 題目解析 題目中提到的兩個演算法...
(共 1574 字,隱藏中)
前往觀看
0
0