Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wangzheng0822/algo
/ Push
Method
Push
go/08_stack/StatckInterface.go:4–4 ·
view source on GitHub ↗
(v interface{})
Source
from the content-addressed store, hash-verified
2
3
type
Stack
interface
{
4
Push(v
interface
{})
5
Pop()
interface
{}
6
IsEmpty() bool
7
Top()
interface
{}
Callers
8
Test_Push
Function · 0.65
Test_PushPop
Function · 0.65
InOrderTraverse
Method · 0.65
PreOrderTraverse
Method · 0.65
PostOrderTraverse2
Method · 0.65
PushBack
Method · 0.65
Forward
Method · 0.65
Back
Method · 0.65
Implementers
3
ArrayStack
go/24_tree/StackBasedOnArray.go
LinkedListStack
go/08_stack/StackBasedOnLinkedList.go
ArrayStack
go/08_stack/StackBasedOnArray.go
Calls
no outgoing calls
Tested by
2
Test_Push
Function · 0.52
Test_PushPop
Function · 0.52