阿摩線上測驗 登入

試題詳解

試卷:110年 - 110 國立中山大學_碩士暨碩士專班招生考試_資管系/甲、乙組:計算機概論#105543 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:110年 - 110 國立中山大學_碩士暨碩士專班招生考試_資管系/甲、乙組:計算機概論#105543

年份:110年

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

複選題
3.Which of the following about the binary search algorithm is TRUE?
(A) It is not possible for a binary search to find the value 2 in the array of [1, 3, 7, 9, 4, 2, 11]
(B) The maximum number of comparisons required to perform a binary search of a 1000 element array is 9
(C) The best-case time complexity of a binary search is O(log N), with N the number of elements in an array
(D) An iterative implementation of the binary search has a space complexity of O(N), with N the number of elements in an array
正確答案:登入後查看

詳解 (共 2 筆)

推薦的詳解#6002125
未解鎖
ANS: (A)binary searc...
(共 136 字,隱藏中)
前往觀看
0
0
推薦的詳解#5959145
未解鎖
哪一個關於二分搜尋演算法的敘述是真實的?...
(共 660 字,隱藏中)
前往觀看
0
0