阿摩線上測驗 登入

試題詳解

試卷:101年 - 101 國立交通大學_碩士班考試入學試題_資訊聯招:資料結構與演算法#113301 | 科目:研究所、轉學考(插大)-資料結構

試卷資訊

試卷名稱:101年 - 101 國立交通大學_碩士班考試入學試題_資訊聯招:資料結構與演算法#113301

年份:101年

科目:研究所、轉學考(插大)-資料結構

(32) Assume that quicksort is being used to sort an array A with values 4 2 8 7 3 1 5 6. After the first invocation to the partition algorithm the array looks like this: 2 3 1 4 7 5 8 6 Which value could have been chosen as the pivot?
(A)2
(B)3
(C)4
(D)7
(E)8
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#7101510
未解鎖
題目解析 題目要求我們找出在快速排序 ...
(共 1044 字,隱藏中)
前往觀看
0
0