//
pkg.gl
Category
github.com/byfuls/golang
src
stack
package
0.0.0-20231213065425-ffb739900441
Repository:
https://github.com/byfuls/golang.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
75 SLOC
#
Functions
NewQueue
NewQueue returns a new queue with the given initial size.
NewStack
NewStack returns a new stack.
#
Structs
Node
No description provided by the author
Queue
Queue is a basic FIFO queue based on a circular list that resizes as needed.
Stack
Stack is a basic LIFO stack that resizes as needed.