阿摩線上測驗 登入

試題詳解

試卷:110年 - 110 國立清華大學碩士班考試入學試題_資訊系統與應用研究所:計算機概論#104988 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:110年 - 110 國立清華大學碩士班考試入學試題_資訊系統與應用研究所:計算機概論#104988

年份:110年

科目:研究所、轉學考(插大)、學士後-計算機概論

24. For sorting n integers, which of the following statements is true?
(A) Both quick sort and merge sort have O(nlogn) worst-case time complexity.
(B) Both quick sort and merge sort are stable sorting algorithms.
(C) Both quick sort and merge sort do not need extra space.
(D) Heap sort achieves O(nlogn) average-case time complexity.
(E) Heap sort needs extra space during sorting.
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#5274655
未解鎖
答案為(D)(A):quick sort...
(共 134 字,隱藏中)
前往觀看
0
0