//
pkg.gl
Category
github.com/sllt/af
datastructure
heap
package
0.1.11
Repository:
https://github.com/sllt/af.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
162 SLOC
#
Functions
BuildMaxHeap
BuildMaxHeap builds a MaxHeap instance with data and given comparator.
NewMaxHeap
NewMaxHeap returns a MaxHeap instance with the given comparator.
#
Structs
MaxHeap
MaxHeap implements a binary max heap type T should implements Compare function in lancetconstraints.Comparator interface.