Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuickSelect ¶
QuickSelect returns the kth largest item in the given array
Types ¶
type Sorter ¶
type Sorter interface {
Sort(a []int)
}
func New3WayQuickSort ¶
func New3WayQuickSort() Sorter
func NewBubbleSort ¶
func NewBubbleSort() Sorter
func NewHeapSort ¶
func NewHeapSort() Sorter
func NewInsertionSort ¶
func NewInsertionSort() Sorter
func NewMergeBottomSort ¶
func NewMergeBottomSort() Sorter
func NewMergeSort ¶
func NewMergeSort() Sorter
func NewQuickSort ¶
func NewQuickSort() Sorter
func NewSelectionSort ¶
func NewSelectionSort() Sorter
func NewShellSort ¶
func NewShellSort() Sorter
Click to show internal directories.
Click to hide internal directories.