問題詳情
7. Consider a complete binary tree with exactly 10000 nodes, implemented with an array. Sup-pose that a node has its value stored at index 4999 in the array. What index is the valuestored at for this node's parent?
(A) 1499;
(B) 1450;
(C)2499;
(D) 2450.
參考答案
答案:[無官方正解]
難度:計算中-1
書單:沒有書單,新增