Skip to content

Some sorting algorithms implemented and benchmarked in Go

Notifications You must be signed in to change notification settings

moritzschramm/sorting-algos-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms implemented in Go

Currently implemented:

  1. Insertion sort
  2. Merge sort
  3. Quicksort (with and without random pivot)
  4. Heapsort
  5. (Timsort, not working)

Usage

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

About

Some sorting algorithms implemented and benchmarked in Go

Topics

Resources

Stars

Watchers

Forks

Languages