阿摩線上測驗 登入

試題詳解

試卷:109年 - 108 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#124087 | 科目:中山◆電機◆電磁學

試卷資訊

試卷名稱:109年 - 108 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#124087

年份:109年

科目:中山◆電機◆電磁學

複選題

15. Consider an array A containing 10 integers 42, 3, 17, 22, 32, 7, 12, 74, 47, 8. We use quicksort to sort the integers in ascending order. The first element of the underlying sequence is used as the pivot. Which of the following are false after the first partition?
(A) A[5] = 7
(B) A[4] = 42
(C) A[8] = 47
(D) A[0] = 3

正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#6840834
未解鎖
1. 題目解析 題目要求我們使用快速排序...
(共 1078 字,隱藏中)
前往觀看
0
0