阿摩線上測驗 登入

試題詳解

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

試卷資訊

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

年份:109年

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

10. Suppose we start with an empty max-heap of integers, and enter the numbers 20 through 30 into this heap in order. Let the resulting max-heap be stored in an array. Then remove the root node from the heap. What index is 28 stored at in the array?
(A) 4;
(B) 3;
(C) 2;
(D) 1.

正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#6840839
未解鎖
1. 題目解析 這道題目要求我們在一個最...
(共 1238 字,隱藏中)
前往觀看
0
0