堆排序 图解

大根堆:所有节点大于等于左右子节点
小根堆:所有节点小于等于左右子节点
在这里插入图片描述
图源网络

猜你喜欢

转载自blog.csdn.net/qq_46620129/article/details/113802043