摘要: ` type IntHeap struct { sort.IntSlice } func (h *IntHeap) Push(v interface{}) { h.IntSlice = append(h.IntSlice, v.(int)) } func (h *IntHeap) push(v in 阅读全文
posted @ 2024-03-05 22:52 dx2019 阅读(3) 评论(0) 推荐(0) 编辑