summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..aa4a82f
--- /dev/null
+++ b/main.go
@@ -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))
+}