stack

package
v0.0.0-...-6cb8bae Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	Push   func(int)
	Pop    func() int
	Length func() int
}

Stack is a stack interface for integers.

func NewStack

func NewStack() Stack

NewStack returns a new stack of integers.

Jump to

Keyboard shortcuts

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