linkedlist.go
func NewLinkedList(entries ...interface{}) *LinkedList {
	list := &LinkedList{}

	for _, entry := range entries {
		list.AddBack(entry)
	}

	return list
}
func NewLinkedList(entries ...interface{}) *LinkedList {
	list := &LinkedList{}

	for _, entry := range entries {
		list.AddBack(entry)
	}

	return list
}
func NewLinkedList ( entries ... interface { } ) * LinkedList { list := & LinkedList { } for _ , entry := range entries { list . AddBack ( entry ) } return list }
// NewLinkedList instantiates a new LinkedList with the entries provided.
NewLinkedList instantiates a new LinkedList with the entries provided .