Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMaxHeap ¶
func NewMaxHeap[T constraints.Ordered](elements ...T) container.Heap[T]
Return a new maxheap
func NewMinHeap ¶
func NewMinHeap[T constraints.Ordered](elements ...T) container.Heap[T]
Return a new minheap
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.