Documentation ¶
Overview ¶
Package queue provides an interface and implementations for the queue abstract data type
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LLQueue ¶
type LLQueue[T any] struct { // contains filtered or unexported fields }
func NewLLQueue ¶
NewLLQueue instantiates a new linked list queue and returns a pointer to it.
func (*LLQueue[T]) Insert ¶
func (q *LLQueue[T]) Insert(i T)
Add inserts a new item at the end of the queue.
Click to show internal directories.
Click to hide internal directories.