stacks

package
v0.0.0-...-a119377 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlayCelebrity

func PlayCelebrity()

func PlayNextGreaterElement

func PlayNextGreaterElement()

func PlayParenthesisBalance

func PlayParenthesisBalance()

func PlayRemoveKInts

func PlayRemoveKInts()

Types

type Stack

type Stack []interface{}

func (*Stack) Clear

func (s *Stack) Clear()

func (*Stack) IsEmpty

func (s *Stack) IsEmpty() bool

func (*Stack) Peek

func (s *Stack) Peek() interface{}

func (*Stack) Pop

func (s *Stack) Pop() interface{}

func (*Stack) Push

func (s *Stack) Push(val interface{})

Jump to

Keyboard shortcuts

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