Versions in this module Expand all Collapse all v0 v0.1.0 Dec 25, 2023 Changes in this version + type Heap struct + func NewFunc[E any](less func(x, y E) bool, values ...E) *Heap[E] + func New[E cmp.Ordered](values ...E) *Heap[E] + func (h *Heap[E]) Clone() *Heap[E] + func (h *Heap[E]) Len() int + func (h *Heap[E]) Merge(h2 *Heap[E]) *Heap[E] + func (h *Heap[E]) Pop() E + func (h *Heap[E]) Push(x E) *Heap[E] + func (h *Heap[E]) Remove(i int) E + func (h *Heap[E]) Reverse() *Heap[E] + func (h *Heap[E]) Top() E