diff options
| author | Paul Buetow <paul@buetow.org> | 2020-07-12 11:35:03 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2020-07-12 11:35:03 +0100 |
| commit | 4edf2dd20b300c27dcc96829e262aedcd438291a (patch) | |
| tree | f4596883c8210b4e855166289f482efb907bec64 /main.go | |
have selection sort
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +package main + +import ( + "algorithms/ds" + "algorithms/sort" + "fmt" +) + +func main() { + fmt.Println("Hello to Algorithms Playground!") + a := ds.RandomIntegers(100, 1000) + fmt.Printf("Random: %v\n", a) + fmt.Printf("Sorted: %v\n", sort.Selection(a)) +} |
