blob: c660ddb6a8bd8cc0e092f345de209cc47c410dce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/*
binary heap (min-heap) algorithm used as a core for the priority queue
*/
package priorityqueue
type BinHeap struct {
}
func NewBinHeap() *BinHeap {
return &BinHeap{}
}
|