9. 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. What index is 28 stored at in the array?
(A) 2;
(B) 3;
(C) 4;
(D) 5.

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#6840840
1. 題目解析 題目要求我們在一個空的...
(共 1182 字,隱藏中)
前往觀看
0
0