package
Version:
v0.0.0-...-24ca9bf
Opens a new window with list of versions in this module.
Published: Jun 7, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Queue[I constraints.Integer, E any, S ~[]E] interface {
Enqueue(value E)
Dequeue() E
Peek() E
Contains(value E) bool
Size() I
}
Queue is a FIFO sequential access data structure.
Access O(n)
Search O(n)
* Insert O(1)
* Delete O(1)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.