(i, j int)
| 32 | return h[i] < h[j] |
| 33 | } |
| 34 | func (h MinHeap) Swap(i, j int) { |
| 35 | h[i], h[j] = h[j], h[i] |
| 36 | } |
| 37 | func (h *MinHeap) Push(x interface{}) { |
| 38 | *h = append(*h, x.(int)) |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected