https://github.com/shmokmt/sleep-sort
https://github.com/shmokmt/sleep-sort
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shmokmt/sleep-sort
- Owner: shmokmt
- Created: 2022-11-05T03:33:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T03:34:21.000Z (over 2 years ago)
- Last Synced: 2025-04-01T17:10:33.445Z (3 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)