MCPcopy Index your code
hub / github.com/arnauddri/algorithms / Len

Method Len

data-structures/priority-queue/priority_queue.go:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func (pq *PQ) Len() int {
41 return pq.data.Len()
42}
43
44func (pq *PQ) Insert(el Item) {
45 pq.data.Insert(heap.Item(el))

Callers 3

ChangePriorityMethod · 0.95
TestMaxPriorityQueueFunction · 0.45
TestMinPriorityQueueFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestMaxPriorityQueueFunction · 0.36
TestMinPriorityQueueFunction · 0.36