stack

package
v0.0.0-...-c3db47b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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 Node

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

type Stack

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

func (*Stack) IsEmpty

func (stack *Stack) IsEmpty() bool

func (*Stack) Peek

func (stack *Stack) Peek() (int, bool)

func (*Stack) Pop

func (stack *Stack) Pop() (int, bool)

func (*Stack) Print

func (stack *Stack) Print()

func (*Stack) Push

func (stack *Stack) Push(d int)

Jump to

Keyboard shortcuts

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