Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinMaxStack ¶
type MinMaxStack struct {
// contains filtered or unexported fields
}
func NewMinMaxStack ¶
func NewMinMaxStack() *MinMaxStack
func (*MinMaxStack) GetMax ¶
func (stack *MinMaxStack) GetMax() int
func (*MinMaxStack) GetMin ¶
func (stack *MinMaxStack) GetMin() int
func (*MinMaxStack) Peek ¶
func (stack *MinMaxStack) Peek() int
func (*MinMaxStack) Pop ¶
func (stack *MinMaxStack) Pop() int
func (*MinMaxStack) Push ¶
func (stack *MinMaxStack) Push(number int)
Click to show internal directories.
Click to hide internal directories.