stack

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IArrayStack

type IArrayStack interface {
	Push(data int)
	Pop()
	IsEmpty() bool
	Print()
	List() []int
}

func ArrayStack

func ArrayStack() IArrayStack

type ILinkedListStack

type ILinkedListStack interface {
	Push(data int)
	Pop()
	IsEmpty() bool
	Print()
	List() []int
}

func LinkedListStack

func LinkedListStack(data int) ILinkedListStack

Jump to

Keyboard shortcuts

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