阿摩線上測驗 登入

試題詳解

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

試卷資訊

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

年份:107年

科目:中山◆電機◆資料結構

13. Suppose you are given an array containing six integers 5, 36, 4, 20, 19, and 9 initially. Starting with 5, use insertionsort to sort the array in increasing order. What is the content of the array after 4 is processed?
(A) 4, 5, 20, 36, 19, 9;
(B) 5, 36, 4, 9, 19, 20;
(C)4, 5, 19, 36, 20,9;
(D)4, 5, 36, 20, 19,9.
正確答案:登入後查看