摘要:
6.1 - 1:Define n to be the number of elements in a heap of height h, then:6.1-2:6.1-3:For any of the sub-tree of one max-heap, it maintains the basic heap property, i.e., A[parent(i)] >= A[i]. and the root of one sub-tree is the ancestor of all its nodes, therefore, the root is the largest by rec 阅读全文
posted @ 2011-02-10 01:08
songyy
阅读(531)
评论(7)
推荐(0)
浙公网安备 33010602011771号