阿摩線上測驗 登入

試題詳解

試卷:110年 - 110 國立臺灣大學_碩士班招生考試_電信工程研究所丙組:資料結構與演算法(B)#113108 | 科目:研究所、轉學考(插大)◆資料結構與演算法

試卷資訊

試卷名稱:110年 - 110 國立臺灣大學_碩士班招生考試_電信工程研究所丙組:資料結構與演算法(B)#113108

年份:110年

科目:研究所、轉學考(插大)◆資料結構與演算法

13. Consider a divide-and-conquer algorithm, which solves a problem of size n by dividing it into two subproblems of size n/3 and n/5, respectively. The solutions of the subproblems are then combined in θ(n2) time. Which of the following is correct about the time complexity T(n) of this algorithm?
(A) T(n) must be in θ(n2).
(B) T(n) must be in O(n2) but not nec ssarily in Ω(n2).
(C) T(n) must be in Ω(n2) but not necessarily in O(n2).
(D)None of the above. The complexity of T(n) depends on the exact valuc of n. 

正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#7105823
未解鎖
1. 題目解析 題目描述了一個分治(d...
(共 1308 字,隱藏中)
前往觀看
0
0