//
pkg.gl
Category
github.com/0RAJA/Rutils
struct
heap
package
0.6.1
Repository:
https://github.com/0raja/rutils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
97 SLOC
#
Functions
NewHeap
NewHeap 初始化一个空堆,创建哨兵.
#
Constants
MaxData
No description provided by the author
MaxSize
No description provided by the author
#
Structs
Heap
Heap 一个最大堆,一棵完全二叉树 最大堆要求节点元素都不小于其左右孩子.