ds/impl_queue_linked_list.go
2023-01-20 21:48:46 +01:00

9 lines
194 B
Go

package ds
type LinkedListQueue[T any] ListQueue[T]
func NewLinkedListQueue[T any]() *LinkedListQueue[T] {
stack := NewListQueue[T](new(LinkedList[T]))
return (*LinkedListQueue[T])(stack)
}