阿摩線上測驗 登入

試題詳解

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

試卷資訊

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

年份:110年

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

14. Consider an array of size n with perfectly inversely sorted order. Which of the following is correct about the running times to sort this array (deterministically)?
(A) Quicksort: O(n ign); Merge Sort: O(n ign); Insertion Sort: O(n2)
(B) Quicksort: 0(n2); Merge Sort: O(n2); Insertion Sort: 0(n2)
(C) Quicksort: O(n2); Merge Sort: O(n lgn); Insertion Sort: O(n lgn)
(D) Quicksort: 0(n2); Merge Sort: O(n lgn); Insertion Sort: O(n2)
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#7105822
未解鎖
1. 題目解析 題目詢問一個大小為 n...
(共 994 字,隱藏中)
前往觀看
0
0