阿摩線上測驗 登入

試題詳解

試卷:110年 - 110 國立中央大學_碩士班招生考試_資工類:資料結構與演算法#105890 | 科目:研究所、轉學考(插大)◆資料結構與演算法

試卷資訊

試卷名稱:110年 - 110 國立中央大學_碩士班招生考試_資工類:資料結構與演算法#105890

年份:110年

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

複選題
8. Let T(n) denote the time taken to sort a list of n records. Which of the following statements are false for QuickSort?
(A) T(n) = 2T(n/2) + cn for some constant c in the worst-case scenario.
(B) T(n) = 4T(n/4) + cn for some constant c in the worst-case scenario.
(C) T(n) = T(n-1) + cn for some constant c in the worst-case scenario.
(D) T(n) = 2T(n-2) + cn for some constant c in the best-case scenario. 
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#5455751
未解鎖
(A)錯誤,worst case應為T(...
(共 107 字,隱藏中)
前往觀看
0
0