package
Version:
v0.0.0-...-b044761
Opens a new window with list of versions in this module.
Published: Dec 31, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func BinarySearch(arr []interface{}, x interface{}, less common.Less) int
BinarySearch implements binary search algorithm.
It returns the index if element x is found in arr
Otherwise it returns -1.
func InsertSort(arr []int) []int
InsertSort ...
func MergeSort(arr []int) []int
MergeSort ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.