Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnauddri/algorithms
/ PQ
Struct
PQ
data-structures/priority-queue/priority_queue.go:24–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
type
PQ
struct
{
25
data heap.Heap
26
}
27
28
func
NewMax() (q *PQ) {
29
return
&PQ{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected