問題詳情

4.(20%)Given an array-based binary heap where each node has a key smaller than or equal to any children. Suppose that the following keys are added in order to this empty min-heap:
21,15,36, 44, 10,4,9,13,29, 25.a.What is the content of the array for the min-heap?

參考答案

答案:A
難度:簡單0.855805
統計:A(457),B(4),C(31),D(9),E(0)

內容推薦