【发布时间】:2013-03-03 11:33:08
【问题描述】:
Introduction to Algorithms 的伪代码声明:
for each node w in the root list of H
link trees of the same degree
但是如何有效地实现 for each root node 部分呢?原始根在整个合并过程中与其他相同程度的根相连,很难通过根节点的循环列表。如何确定是否检查了每个根节点?
【问题讨论】:
标签: algorithm tree fibonacci-heap