Simple algorithms library in Golang
go get github.com/mrlups/algo@latest # for latest version
LinearSearch()
-> O(n)
BinarySearch()
-> O(log n)
RecursiveBinarySearch()
-> O(log n)
MergeSort()
-> O(kn log n)
Split()
-> split arrays, O(k log n)
Merge()
- Implement more algorithms
- Increase merge sort efficiency to O(n log n)