我想将二叉树显示为最大堆顺序。
要求1)输入-二叉树2)输出-最大堆/最小堆
非常感谢。
吉里哈,REgards
发布于 2011-03-14 13:29:51
如果你被允许使用别人的作品:
Use std::make_heap to make a heap from a vector
https://stackoverflow.com/questions/5294974
相似问题