大根堆:所有节点大于等于左右子节点
小根堆:所有节点小于等于左右子节点
图源网络
堆排序 图解
猜你喜欢
转载自blog.csdn.net/qq_46620129/article/details/113802043
今日推荐
周排行