二十二 堆及其实现

用二叉树实现堆:

完全二叉树:

用数组存储二叉堆:

猜你喜欢

转载自www.cnblogs.com/ltfxy/p/10052253.html
今日推荐