heapsort

package
v0.0.0-...-4a9ff44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T any]() internal.SortingAlgorithm[T]

Types

type HeapSort

type HeapSort[T any] struct{}

func (HeapSort[T]) Sort

func (h HeapSort[T]) Sort(arr []T, compare func(a, b T) bool)

func (HeapSort[T]) String

func (h HeapSort[T]) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL