//
pkg.gl
Category
github.com/udhayprakash/GoLangMaterial
17_Data_Structures
03_stack_queue
package
0.0.0-20231211011844-1e169f5e9074
Repository:
https://github.com/udhayprakash/golangmaterial.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
77 SLOC
#
Functions
NewQueue
NewQueue returns a new queue with the given initial size.
NewStack
NewStack returns a new stack.
#
Structs
Node
A stack is an ordered list in which all insertions and deletions are made at one end, called the top.
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.