Sleep Sort Implementation in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Go Sleep Sort

Sleep Sort is very funny way to sort an array of non-negative numbers. The basic idea is, for number x wait for time proportional to x (example x seconds) and then print it.

go-sleep-sort is implementation of Sleep Sort algorithm in Golang.

How to run

go run sleepsort.go 2 1 3