Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shmokmt/sleep-sort
https://github.com/shmokmt/sleep-sort
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shmokmt/sleep-sort
- Owner: shmokmt
- Created: 2022-11-05T03:33:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T03:34:21.000Z (about 2 years ago)
- Last Synced: 2024-06-20T08:09:15.066Z (5 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sleep-sort
The implementation of Sleep Sort in Go
```go
package mainimport sleepsort "github.com/shmokmt/sleep-sort"
func main() {
s := []uint{3, 5, 2, 6}
sleepsort.SortUint(s) // [2, 3, 5, 6]
}
```## See also
- [Sorting algorithms/Sleep sort](https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort)
- [画期的(?)なソートアルゴリズム「Sleep Sort」 | gihyo.jp](https://gihyo.jp/dev/clip/01/orangenews/vol63/0006)