您如何证明具有n个节点的二进制堆恰好具有⌈n/2⌉个叶节点?
algorithm binary-heap data-structures
algorithm ×1
binary-heap ×1
data-structures ×1