summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-07-14 08:53:17 +0100
committerPaul Buetow <paul@buetow.org>2020-07-14 08:53:17 +0100
commit554a7a259f3feefb586374ac5a3b57acc99a4446 (patch)
tree33ad06e30abb352609dd4f75306504f6548caec8 /main.go
parent7f0751cad2196932f16f753fdaf53bc3eea670b8 (diff)
add insertion sort
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index aa4a82f..461095b 100644
--- a/main.go
+++ b/main.go
@@ -10,5 +10,5 @@ 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))
+ fmt.Printf("Sorted: %v\n", sort.Insertion(a))
}