(i, j int)
| 16 | return h[i].val > h[j].val |
| 17 | } |
| 18 | func (h freqHeap) Swap(i, j int) { |
| 19 | h[i], h[j] = h[j], h[i] |
| 20 | } |
| 21 | func (h *freqHeap) Push(f interface{}) { |
| 22 | *h = append(*h, f.(freqHeapVal)) |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected