algo/go/08_stack/StatckInterface.go

10 lines
127 B
Go
Raw Normal View History

2018-10-09 23:54:01 +08:00
package _8_stack
type Stack interface {
Push(v interface{})
Pop() interface{}
IsEmpty() bool
Top() interface{}
Flush()
}