Currently implemented:
- Insertion sort
- Merge sort
- Quicksort (with and without random pivot)
- Heapsort
- (Timsort, not working)
Download and change directory:
go get github.com/moritzschramm/sorting-algos-go
cd $GOPATH/src/github.com/moritzschramm/sorting-algos-go
Run:
go run main.go <algorithm-name>
List currently implemented algorithms:
go run main.go list