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