package
Version:
v0.0.0-...-7ee87ef
Opens a new window with list of versions in this module.
Published: Jan 29, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Deque[T any] interface {
PushFront(T)
PushBack(T)
PopFront() (T, bool)
PopBack() (T, bool)
PeekFront() (T, bool)
PeekBack() (T, bool)
}
type Queue[T any] interface {
Enqueue(T) bool
Dequeue() (T, bool)
Peek() (T, bool)
IsEmpty() bool
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.