minstack

package
v0.0.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinStack

type MinStack struct {
	// contains filtered or unexported fields
}

MinStack ...

func NewMinStack

func NewMinStack() MinStack

NewMinStack ...

func (*MinStack) GetMin

func (ms *MinStack) GetMin() int

GetMin ...

func (*MinStack) Pop

func (ms *MinStack) Pop()

Pop ...

func (*MinStack) Push

func (ms *MinStack) Push(x int)

Push ...

func (*MinStack) Top

func (ms *MinStack) Top() int

Top ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL