Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyHeapErr = errors.New("heap: empty heap")
Functions ¶
This section is empty.
Types ¶
type Heap ¶
func NewHeapWithComparator ¶
func NewMaxHeap ¶
func NewMaxHeap[T constraints.Ordered](size int) Heap[T]
func NewMinHeap ¶
func NewMinHeap[T constraints.Ordered](size int) Heap[T]
Click to show internal directories.
Click to hide internal directories.