sorts

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bubble

func Bubble[T any](list []T, less func(i, j int) bool)

func Cocktail

func Cocktail[T any](list []T, less func(i, j int) bool)

func Heapsort added in v1.3.3

func Heapsort[T any](list []T, less func(i, j int) bool)

func Insertion

func Insertion[T any](list []T, less func(i, j int) bool)

func Merge

func Merge[T any](list []T, less func(i, j int) bool)

func Reverse added in v1.4.0

func Reverse[T any](list []T)

func Selection

func Selection[T any](list []T, less func(i, j int) bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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