Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreaterThanable ¶
type Heap ¶
type Heap[T any] struct { // contains filtered or unexported fields }
Heap is a generic heap implement based on container.heap
func NewMaxI ¶
func NewMaxI[T GreaterThanable[T]](data ...T) *Heap[T]
New max heap with GreaterThanable
type LesserThanable ¶
Click to show internal directories.
Click to hide internal directories.