summaryrefslogtreecommitdiff
path: root/ds/arraylist.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-08-24 14:17:34 +0100
committerPaul Buetow <pbuetow@mimecast.com>2020-08-24 14:17:34 +0100
commit4098a882ca0dfa1f785ecf5800cb1efcbcfe44a4 (patch)
tree1bb305e8670ba65babb3aeab43fa665933c31ca8 /ds/arraylist.go
parentdda16974366e91036b32d0eeea33b766c2439feb (diff)
elementary priority queue
Diffstat (limited to 'ds/arraylist.go')
-rw-r--r--ds/arraylist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ds/arraylist.go b/ds/arraylist.go
index e0e4536..feee14e 100644
--- a/ds/arraylist.go
+++ b/ds/arraylist.go
@@ -6,6 +6,7 @@ import (
"strings"
)
+// Idea: Once Go got generics use generics here instead of hard coded int type
type ArrayList []int
func NewArrayList(l int) ArrayList {