Documentation ¶
Overview ¶
Package mergesort provides a way of sorting a slice using the merge sort algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec[T constraints.Ordered](s []T) []T
Exec sorts a slice of an ordered type T in increasing order using the merge sort algorithm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.