MCPcopy
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
3type Stack interface {
4 Push(v interface{})
5 Pop() interface{}
6 IsEmpty() bool
7 Top() interface{}

Callers 8

Test_PushFunction · 0.65
Test_PushPopFunction · 0.65
InOrderTraverseMethod · 0.65
PreOrderTraverseMethod · 0.65
PostOrderTraverse2Method · 0.65
PushBackMethod · 0.65
ForwardMethod · 0.65
BackMethod · 0.65

Implementers 3

ArrayStackgo/24_tree/StackBasedOnArray.go
LinkedListStackgo/08_stack/StackBasedOnLinkedList.go
ArrayStackgo/08_stack/StackBasedOnArray.go

Calls

no outgoing calls

Tested by 2

Test_PushFunction · 0.52
Test_PushPopFunction · 0.52