Documentation
¶
Index ¶
- func DoubleLinkedListInsertionSort[T constraints.Ordered](node *list.DoubleLink[T], ascending bool) *list.DoubleLink[T]
- func SingleLinkedListInsertionSort[T constraints.Ordered](node *list.SingleLink[T], ascending bool) *list.SingleLink[T]
- func SliceBogoSort[T constraints.Ordered](values []T, ascending bool)
- func SliceBubbleSort[T constraints.Ordered](values []T, ascending bool)
- func SliceCycleSort[T constraints.Ordered](values []T, ascending bool)
- func SliceExchangeSort[T constraints.Ordered](values []T, ascending bool)
- func SliceGnomeSort[T constraints.Ordered](values []T, ascending bool)
- func SliceHeapSort[T constraints.Ordered](values []T, ascending bool)
- func SliceInsertionSort[T constraints.Ordered](values []T, ascending bool)
- func SliceQuickSort[T constraints.Ordered](values []T, ascending bool)
- func SliceSelectionSort[T constraints.Ordered](values []T, ascending bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoubleLinkedListInsertionSort ¶
func DoubleLinkedListInsertionSort[T constraints.Ordered](node *list.DoubleLink[T], ascending bool) *list.DoubleLink[T]
func SingleLinkedListInsertionSort ¶
func SingleLinkedListInsertionSort[T constraints.Ordered](node *list.SingleLink[T], ascending bool) *list.SingleLink[T]
func SliceBogoSort ¶
func SliceBogoSort[T constraints.Ordered](values []T, ascending bool)
func SliceBubbleSort ¶
func SliceBubbleSort[T constraints.Ordered](values []T, ascending bool)
func SliceCycleSort ¶
func SliceCycleSort[T constraints.Ordered](values []T, ascending bool)
func SliceExchangeSort ¶
func SliceExchangeSort[T constraints.Ordered](values []T, ascending bool)
func SliceGnomeSort ¶
func SliceGnomeSort[T constraints.Ordered](values []T, ascending bool)
func SliceHeapSort ¶
func SliceHeapSort[T constraints.Ordered](values []T, ascending bool)
func SliceInsertionSort ¶
func SliceInsertionSort[T constraints.Ordered](values []T, ascending bool)
func SliceQuickSort ¶
func SliceQuickSort[T constraints.Ordered](values []T, ascending bool)
func SliceSelectionSort ¶
func SliceSelectionSort[T constraints.Ordered](values []T, ascending bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.