Versions in this module Expand all Collapse all v0 v0.1.1 Nov 12, 2024 v0.1.1-beta Nov 26, 2024 v0.0.1 Jul 24, 2024 Changes in this version + type LessFn func(a, b T) bool + type MinHeap struct + func NewMinHeap[T any](lessFn LessFn[T]) *MinHeap[T] + func (h *MinHeap[T]) Len() int + func (h *MinHeap[T]) Peek() T + func (h *MinHeap[T]) Pop() T + func (h *MinHeap[T]) Push(item T)